diff options
author | hari gowtham <hgowtham@redhat.com> | 2018-05-18 15:05:37 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-05-30 03:37:11 +0000 |
commit | 7e72af7657973d508c179922bd29257ff8402bcd (patch) | |
tree | 59d5d56b8354e19a4b66e6c47b0416a36b18e89d /api | |
parent | 62990c30fcec37f643b7631070de8baba276f0ba (diff) |
Core: The lock contention on gf_client_dump_inodes_to_dict
Problem: For a distributed replicated volume, in the inode status
command the lock on gf_client_dump_inodes_to_dict is held by the
first brickop. while this is being processed, if the second brickop
comes. It fails to get the lock and the whole brick op fails.
Fix: Instead of using a TRY_LOCK which errors out if the lock is busy,
Use LOCK which will wait till the lock is acquired.
Change-Id: I768a0a1b60f28c4f7f94549e18ee3765b69cc528
fixes: bz#1579769
Signed-off-by: hari gowtham <hgowtham@redhat.com>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions