projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4985d6f
)
ceph: show wsize only if non-default
author
Ilya Dryomov
<idryomov@gmail.com>
Thu, 3 May 2018 14:26:55 +0000
(16:26 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Mon, 4 Jun 2018 18:45:56 +0000
(20:45 +0200)
This is how it was before commit
95cca2b44e54
("ceph: limit osd write
size") went in.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/super.c
patch
|
blob
|
history
diff --git
a/fs/ceph/super.c
b/fs/ceph/super.c
index b33082e6878f1ca1ba8820716dafb1924d77855d..3c1155803444ac66abf3b847767570d157f3b04f 100644
(file)
--- a/
fs/ceph/super.c
+++ b/
fs/ceph/super.c
@@
-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);