summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-set.c
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2016-06-29 00:25:39 -0400
committerRaghavendra G <rgowdapp@redhat.com>2016-07-05 04:00:50 -0700
commit01d6b17bac704a320bc0549ae063ee7f4bf3748b (patch)
tree370fae2fccff9d490af559d6debc2aa129bd11f9 /xlators/mgmt/glusterd/src/glusterd-volume-set.c
parent633e6fe265bc2de42dade58dc6a15c285957da76 (diff)
md-cache: Cache gluster-samba metadata
Change-Id: I0a95f4897440c5bf6f54612d9c232e015c8bf983 BUG: 1211863 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/14824 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Prashanth Pai <ppai@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 9202763691c..31273fb5cea 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1586,7 +1586,14 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.description = "Cache swift metadata (user.swift.metadata xattr)",
.flags = OPT_FLAG_CLIENT_OPT
},
-
+ { .key = "performance.cache-samba-metadata",
+ .voltype = "performance/md-cache",
+ .option = "cache-samba-metadata",
+ .op_version = GD_OP_VERSION_3_9_0,
+ .description = "Cache samba metadata (user.DOSATTRIB, security.NTACL"
+ " xattr)",
+ .flags = OPT_FLAG_CLIENT_OPT
+ },
/* Crypt xlator options */