diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2012-11-21 14:35:10 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-11-21 12:03:37 -0800 |
commit | 2e40e0f42807f23d447d7fae67c1e2f834904c53 (patch) | |
tree | 7c535cd6a80e650993e03563bccdaeb802994e0b /xlators/performance/io-threads/src/io-threads.h | |
parent | 79eb7c62e27d01d14b3053f9ecd14d6b964bac76 (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: I7607c7ff4f88c7ced5416a1cddb6586cf45d88f9
BUG: 861335
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/4220
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/performance/io-threads/src/io-threads.h')
0 files changed, 0 insertions, 0 deletions