diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2020-05-15 11:29:36 +0530 |
---|---|---|
committer | Krutika Dhananjay <kdhananj@redhat.com> | 2020-06-15 12:12:00 +0000 |
commit | cf7298e2db5a18cdba70b23a8e94952a2aed7280 (patch) | |
tree | 89717c32647a88d723fd1f265cb1c9feb8020a8b /libglusterfs | |
parent | dcbf54581717d10cf82cdce9bc08415ba1e1d19b (diff) |
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>
(cherry picked from commit 29ec66c6ab77e2d6893c6e213a3d1fb148702c99)
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions