diff options
author | Poornima G <pgurusid@redhat.com> | 2017-10-10 14:45:03 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2017-10-18 14:15:05 +0000 |
commit | 77271e9c1efab628d00bc66803be923f451c0bfa (patch) | |
tree | 4e4183568a2fdda702ae5cdcd4624a53fc39b1cf /xlators/mount/fuse/src/fuse-bridge.c | |
parent | e848410ab6d13871be6b57101788ea5183efe75c (diff) |
gfproxyd: Let glusterd manage gfproxy daemon
Updates: #242
BUG: 1428063
Change-Id: Iaaf2edf99b2ecc75f6d30762c752a6d445c1c826
Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.c')
-rw-r--r-- | xlators/mount/fuse/src/fuse-bridge.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index 93c5150cf21..6c6506009cb 100644 --- a/xlators/mount/fuse/src/fuse-bridge.c +++ b/xlators/mount/fuse/src/fuse-bridge.c @@ -5671,6 +5671,9 @@ init (xlator_t *this_xl) GF_OPTION_INIT("event-history", priv->event_history, bool, cleanup_exit); + GF_OPTION_INIT("thin-client", priv->thin_client, bool, + cleanup_exit); + /* user has set only background-qlen, not congestion-threshold, use the fuse kernel driver formula to set congestion. ie, 75% */ if (dict_get (this_xl->options, "background-qlen") && @@ -5981,5 +5984,10 @@ struct volume_options options[] = { .description = "This option can be used to enable or disable fuse " "event history.", }, + { .key = {"thin-client"}, + .type = GF_OPTION_TYPE_BOOL, + .default_value = "false", + .description = "Enables thin mount and connects via gfproxyd daemon.", + }, { .key = {NULL} }, }; |