summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read
diff options
context:
space:
mode:
authorXavi Hernandez <xhernandez@redhat.com>2020-03-30 11:09:39 +0200
committerAmar Tumballi <amar@kadalu.io>2020-04-16 11:15:09 +0000
commitf507c20bd11565c329d103075a15da11dba461d5 (patch)
tree59cffe0fb63cda55d4e657045d709638d0b8c1ea /xlators/performance/quick-read
parent453861088dfabde2c41bec674bed2a6886b4ed37 (diff)
md-cache: avoid clearing cache when not necessary
mdc_inode_xatt_set() blindly cleared current cache when dict was not NULL, even if there was no xattr requested. This patch fixes this by only calling mdc_inode_xatt_set() when we have explicitly requested something to cache. Change-Id: Idc91a4693f1ff39f7059acde26682ccc361b947d Fixes: #1140 Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
Diffstat (limited to 'xlators/performance/quick-read')
0 files changed, 0 insertions, 0 deletions