diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2020-05-15 11:29:36 +0530 |
---|---|---|
committer | Xavi Hernandez <xhernandez@redhat.com> | 2020-05-21 20:06:32 +0000 |
commit | 29ec66c6ab77e2d6893c6e213a3d1fb148702c99 (patch) | |
tree | 9f89b8a8415dcad2903e4ee665b2f4fc82451e73 /tests/utils | |
parent | c1baf3c68b87584aea5389af958326f6ed01d7ec (diff) | |
download | glusterfs-29ec66c6ab77e2d6893c6e213a3d1fb148702c99.tar.gz glusterfs-29ec66c6ab77e2d6893c6e213a3d1fb148702c99.tar.xz glusterfs-29ec66c6ab77e2d6893c6e213a3d1fb148702c99.zip |
features/shard: Aggregate size, block-count in iatt before unwinding setxattr
Posix translator returns pre and postbufs in the dict in {F}SETXATTR fops.
These iatts are further cached at layers like md-cache.
Shard translator, in its current state, simply returns these values without
updating the aggregated file size and block-count.
This patch fixes this problem.
Change-Id: I4da0eceb4235b91546df79270bcc0af8cd64e9ea
Fixes: #1243
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Diffstat (limited to 'tests/utils')
0 files changed, 0 insertions, 0 deletions