glusterd: Add description field to global options for brick-mux
Currently the "cluster.brick-multiplex" and "cluster.max-bricks-per-process" options do not show anything in the description field when gluster volume set help is called. This commit adds the description fields for these 2 options. Change-Id: I3d162c61fa2774dd994f046e305d457f0fd43192 BUG: 1471790 Signed-off-by: Samikshan Bairagya <samikshan@gmail.com> Reviewed-on: https://review.gluster.org/17790 Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Gaurav Yadav <gyadav@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
This commit is contained in:
parent
58a15ae04e
commit
b14f26a869
@ -3443,13 +3443,23 @@ struct volopt_map_entry glusterd_volopt_map[] = {
|
||||
.voltype = "mgmt/glusterd",
|
||||
.value = "off",
|
||||
.op_version = GD_OP_VERSION_3_10_0,
|
||||
.validate_fn = validate_boolean
|
||||
.validate_fn = validate_boolean,
|
||||
.type = GLOBAL_DOC,
|
||||
.description = "This global option can be used to enable/disable "
|
||||
"brick multiplexing. Brick multiplexing ensures that "
|
||||
"compatible brick instances can share one single "
|
||||
"brick process."
|
||||
},
|
||||
{ .key = GLUSTERD_BRICKMUX_LIMIT_KEY,
|
||||
.voltype = "mgmt/glusterd",
|
||||
.value = "1",
|
||||
.op_version = GD_OP_VERSION_3_12_0,
|
||||
.validate_fn = validate_mux_limit
|
||||
.validate_fn = validate_mux_limit,
|
||||
.type = GLOBAL_DOC,
|
||||
.description = "This option can be used to limit the number of brick "
|
||||
"instances per brick process when brick multiplexing "
|
||||
"is enabled. This option can be set only when brick "
|
||||
"multiplexing feature enabled."
|
||||
},
|
||||
{ .key = "disperse.optimistic-change-log",
|
||||
.voltype = "cluster/disperse",
|
||||
|
Loading…
x
Reference in New Issue
Block a user