diff mbox

[2/2] ceph: Show no_tcp_nodelay in mount options

Message ID alpine.DEB.2.10.1501231641320.28090@Ubuntu-VirtualBox (mailing list archive)
State New, archived
Headers show

Commit Message

Chaitanya Huilgol Jan. 23, 2015, 11:12 a.m. UTC
Chaitanya Huilgol <chaitanya.huilgol@sandisk.com>

Added ‘no_tcp_nodelay’ in show mount options interface

Signed-off-by: Chaitanya Huilgol <chaitanya.huilgol@sandisk.com>
---
 fs/ceph/super.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index 50f06cd..5234d66 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -425,6 +425,8 @@  static int ceph_show_options(struct seq_file *m, struct dentry *root)
 		seq_puts(m, ",noshare");
 	if (opt->flags & CEPH_OPT_NOCRC)
 		seq_puts(m, ",nocrc");
+	if (opt->flags & CEPH_OPT_NO_TCP_NODELAY)
+		seq_puts(m, ",no_tcp_nodelay");
 
 	if (opt->name)
 		seq_printf(m, ",name=%s", opt->name);