summaryrefslogtreecommitdiffstats
path: root/xlators/storage
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2018-08-03 10:20:08 +0530
committerAmar Tumballi <amarts@redhat.com>2018-08-13 13:09:07 +0000
commit68be932b53daa27be7504bc49ac4c8ba33b5a733 (patch)
treecf58c09d3ff09507725cc00039e8fbfd0a61cd58 /xlators/storage
parentc72b21dc0f34ed9a46afbf299127c3d7f6b66c78 (diff)
posix: Mark 'shared-brick-count' as settable
updates: #302 Change-Id: I9c1b9c9751c21866b074ac5d3ef15a58ae7aa707 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'xlators/storage')
-rw-r--r--xlators/storage/posix/src/posix-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/storage/posix/src/posix-common.c b/xlators/storage/posix/src/posix-common.c
index a7161de3396..ae1d6e46329 100644
--- a/xlators/storage/posix/src/posix-common.c
+++ b/xlators/storage/posix/src/posix-common.c
@@ -1315,6 +1315,7 @@ struct volume_options options[] = {
{ .key = {"shared-brick-count"},
.type = GF_OPTION_TYPE_INT,
.default_value = "1",
+ .flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC,
.description = "Number of bricks sharing the same backend export."
" Useful for displaying the proper usable size through statvfs() "
"call (df command)",