diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-01-22 17:02:20 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-02-05 06:52:45 -0800 |
commit | bb2df4e63fa8a5d65f18b4a5efc757e8d475fbff (patch) | |
tree | 06dcfb75c7c12fec9c4458b1f14c5dbd29d48adb /rpc/xdr | |
parent | c0419befa9d0d470a921863cd700d778ce5da194 (diff) |
cluster/afr: When parent and entry read subvols are different, set entry->inode to NULL
Backport of: http://review.gluster.org/#/c/9477
That way a lookup would be forced on the entry, and its attributes will
always be selected from its read subvol.
Additionally, directory write fops as well as LOOKUP have been made to
unwind parent attributes from parent's read child in AFR.
Change-Id: I9fca49fa91cc3a65f53db855fedb90b08f1ca7f4
BUG: 1186121
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/9504
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'rpc/xdr')
0 files changed, 0 insertions, 0 deletions