Re: [PATCH v3] ceph: show mount option 'ino32' if the value is different with default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 4, 2018 at 10:03 AM, Chengguang Xu <cgxu519@xxxxxxx> wrote:
> In current ceph_show_options(), there is no item for showing 'ino32',
> so add showing mount option 'ino32' if the value is different with
> default.
>
> Signed-off-by: Chengguang Xu <cgxu519@xxxxxxx>
> ---
> v1->v2:
> - Remove modification about wsize because it has been fixed in commit
>   c6cb3a2758i.
>
> v2->v3:
> - Remove showing option 'norequire_active_mds' because it's useless.
> - Rebase on testing tree.
>
>  fs/ceph/super.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/fs/ceph/super.c b/fs/ceph/super.c
> index cec1d3343742..b5c5c4449d31 100644
> --- a/fs/ceph/super.c
> +++ b/fs/ceph/super.c
> @@ -544,6 +544,8 @@ static int ceph_show_options(struct seq_file *m, struct dentry *root)
>                 seq_puts(m, ",nopoolperm");
>         if (fsopt->flags & CEPH_MOUNT_OPT_NOQUOTADF)
>                 seq_puts(m, ",noquotadf");
> +       if (fsopt->flags & CEPH_MOUNT_OPT_INO32)
> +               seq_puts(m, ",ino32");
>
>  #ifdef CONFIG_CEPH_FS_POSIX_ACL
>         if (fsopt->sb_flags & SB_POSIXACL)

Applied.

Thanks,

                Ilya
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux