glusterd: add option support for own-thread
Like enabling SSL, enabling own-thread has to be done separately for clients and servers. * client.own-thread for clients (including internal like self-heal) * server.own-thread for servers (including e.g. glusterd) It's very unlikely that you would ever want to set one without the other, but they're separate anyway just in case. Check for "private polling thread" in the relevant logs to make sure the option took effect, because otherwise you might not notice any difference besides inreased performance. ;) Change-Id: Ifaee8de52f0b959bcdf7f6b56faeee549ee56604 BUG: 1158648 Signed-off-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-on: http://review.gluster.org/8931 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
This commit is contained in:
parent
8ab61c18d5
commit
4120e8a47a
@ -877,6 +877,12 @@ struct volopt_map_entry glusterd_volopt_map[] = {
|
||||
.op_version = 2,
|
||||
.flags = OPT_FLAG_CLIENT_OPT
|
||||
},
|
||||
{ .key = "client.own-thread",
|
||||
.voltype = "protocol/client",
|
||||
.option = "transport.socket.own-thread",
|
||||
.type = NO_DOC,
|
||||
.op_version = GD_OP_VERSION_3_7_0,
|
||||
},
|
||||
|
||||
/* Server xlator options */
|
||||
{ .key = "network.tcp-window-size",
|
||||
@ -973,6 +979,12 @@ struct volopt_map_entry glusterd_volopt_map[] = {
|
||||
.voltype = "protocol/server",
|
||||
.op_version = GD_OP_VERSION_3_6_0,
|
||||
},
|
||||
{ .key = "server.own-thread",
|
||||
.voltype = "protocol/server",
|
||||
.option = "transport.socket.own-thread",
|
||||
.type = NO_DOC,
|
||||
.op_version = GD_OP_VERSION_3_7_0,
|
||||
},
|
||||
|
||||
/* Generic transport options */
|
||||
{ .key = SSL_CERT_DEPTH_OPT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user