summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2017-05-09 02:31:39 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2017-05-11 06:34:47 +0000
commit1a8fa910ccba7aa941f673302c1ddbd7bd818e39 (patch)
tree0ae9b6e534d9b3d50ede553e1c8a57f86f22138b /xlators/features
parent74383e3ec6f8244b3de9bf14016452498c1ddcf0 (diff)
afr: send the correct iatt values in fsync cbk
Problem: afr unwinds the fsync fop with an iatt buffer from one of its children on whom fsync was successful. But that child might not be a valid read subvolume for that inode because of pending heals or because it happens to be the arbiter brick etc. Thus we end up sending the wrong iatt to mdcache which will in turn serve it to the application on a subsequent stat call as reported in the BZ. Fix: Pick a child on whom the fsync was successful *and* that is readable as indicated in the inode context. Change-Id: Ie8647289219cebe02dde4727e19a729b3353ebcf BUG: 1449329 RCA'ed-by: Miklós Fokin <miklos.fokin@appeartv.com> Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: https://review.gluster.org/17227 CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/features')
0 files changed, 0 insertions, 0 deletions