diff options
author | Poornima G <pgurusid@redhat.com> | 2018-01-09 17:26:44 +0530 |
---|---|---|
committer | Poornima G <pgurusid@redhat.com> | 2018-01-22 04:10:52 +0000 |
commit | 24bf7715140586675f8d2036f4d589bc255c16dc (patch) | |
tree | 77c037c66bc14b40d79bed94770ec54303d2301b /tests | |
parent | 303cc2b54797bc5371be742543ccb289010c92f2 (diff) |
md-cache: Implement dynamic configuration of xattr list for caching
Currently, the list of xattrs that md-cache can cache is hard coded
in the md-cache.c file, this necessiates code change and rebuild
everytime a new xattr needs to be added to md-cache xattr cache
list.
With this patch, the user will be able to configure a comma
seperated list of xattrs to be cached by md-cache
Updates #297
Change-Id: Ie35ed607d17182d53f6bb6e6c6563ac52bc3132e
Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/bugs/md-cache/bug-1211863.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/md-cache/bug-1211863.t b/tests/bugs/md-cache/bug-1211863.t index ece42fe8d81..ba9bde9fee8 100755 --- a/tests/bugs/md-cache/bug-1211863.t +++ b/tests/bugs/md-cache/bug-1211863.t @@ -16,7 +16,7 @@ TEST $CLI volume start $V0 ## 4. Enable the upcall xlator, and increase the md-cache timeout to max TEST $CLI volume set $V0 performance.md-cache-timeout 600 -TEST $CLI volume set $V0 performance.cache-samba-metadata on +TEST $CLI volume set $V0 performance.xattr-cache-list "user.*" ## 6. Create two gluster mounts TEST glusterfs --volfile-id=/$V0 --volfile-server=$H0 $M0 |