Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6dd4940b authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent 4985d6f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);