summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-set.c
diff options
context:
space:
mode:
authorKevin Vigor <kvigor@fb.com>2017-05-22 10:27:14 -0700
committerShreyas Siravara <sshreyas@fb.com>2017-09-09 00:36:15 +0000
commit0f0d00e8a53e0220b2eb81ad159b12e475ea2afb (patch)
tree0f5d071a3416903c4abf6afc975432241b032467 /xlators/mgmt/glusterd/src/glusterd-volume-set.c
parent8250b0bf29d5423bf6014b45b43a22c6aace5576 (diff)
posix-acl: Add assume-permissive option for EACCES debugging / rug-sweeping.
Summary: Add assume-permissive option for EACCES debugging / rug-sweeping. Re-fetch permissions when needed if they're absent. This is a port of D5104707 & D5131597 to 3.8 Change-Id: I900fc66876ec8e73b04049f844c428b3d225d4ad Reviewed-on: https://review.gluster.org/18249 Reviewed-by: Shreyas Siravara <sshreyas@fb.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 857c494e039..94ae212bc27 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -2600,6 +2600,14 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.voltype = "storage/posix",
.op_version = 2,
},
+ { .key = "storage.liberal-perms-mode",
+ /*
+ * This is really storage/posix but for some ancient historical (and
+ * probably no longer operative) reason we call it something else.
+ */
+ .voltype = "features/access-control",
+ .op_version = GD_OP_VERSION_3_6_0,
+ },
{ .key = "storage.bd-aio",
.voltype = "storage/bd",
.op_version = 3