提交 6dd4940b 编写于 作者: I Ilya Dryomov

ceph: show wsize only if non-default

This is how it was before commit 95cca2b4 ("ceph: limit osd write
size") went in.
Signed-off-by: NIlya Dryomov <idryomov@gmail.com>
上级 4985d6f9
......@@ -551,7 +551,7 @@ static int ceph_show_options(struct seq_file *m, struct dentry *root)
if (fsopt->mds_namespace)
seq_show_option(m, "mds_namespace", fsopt->mds_namespace);
if (fsopt->wsize)
if (fsopt->wsize != CEPH_MAX_WRITE_SIZE)
seq_printf(m, ",wsize=%d", fsopt->wsize);
if (fsopt->rsize != CEPH_MAX_READ_SIZE)
seq_printf(m, ",rsize=%d", fsopt->rsize);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册