summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-10-10 13:18:25 +0530
committerAnand Avati <avati@redhat.com>2012-10-10 19:11:30 -0700
commit1d814dcae0f06e75527017647b605f585125aa61 (patch)
tree4e5d2c86ad52de5ad79a4c1219f862f0f9ca8c4d /xlators/storage/posix/src/posix.c
parent15396f490d23c665d51a64a049679cb40472ab05 (diff)
cluster/afr: check transaction type for eager-lock after it is set
Problem: Eager locking lk-owner decision is taken before transaction type is set. Default transaction type is DATA so all transactions are treated as DATA transactions at the time of eager-locking decision. Fix: Move the code that takes lk-owner decision after the transaction type is set. Test: Checked that the transaction type is set properly in gdb at the time of the lk-owner decision. Change-Id: Ib1c886866f28788aed67622982e86d667b2cdb80 BUG: 864786 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.org/4053 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
0 files changed, 0 insertions, 0 deletions