[PATCH v2] ceph: show more mount options if the value is different with default

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

 



fixes included in this patch:
- add showing mount option 'norequire_active_mds'
- add showing mount option 'ino32'

Signed-off-by: Chengguang Xu <cgxu519@xxxxxxx>
---
v1->v2:
- remove modification about wsize because it has been fixed in commit c6cb3a2758

 fs/ceph/super.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index b33082e6878f..2ebd14acf56a 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -541,6 +541,10 @@ 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_MOUNTWAIT)
+		seq_puts(m, ",norequire_active_mds");
+	if (fsopt->flags & CEPH_MOUNT_OPT_INO32)
+		seq_puts(m, ",ino32");
 
 #ifdef CONFIG_CEPH_FS_POSIX_ACL
 	if (fsopt->sb_flags & SB_POSIXACL)
-- 
2.17.0

--
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