diff options
author | Anand Avati <avati@gluster.com> | 2010-10-28 00:52:30 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-10-27 23:37:36 -0700 |
commit | 00b0a53bae2a5e39f197359581a3850a32970e54 (patch) | |
tree | 4cb60e938cec6bcbbf9ad278fad32be41ec349fd /xlators/cluster/afr/src/afr-open.c | |
parent | 87c0e8fba2d0be4496ec4085136fca459f62c00c (diff) |
replicate: fix hang/missing frame during locking
nonblocking style locking would result in a missing frame when all
subvolumes are down or when no subvolume on which fd was opened
is up. Check for this condition and unlock gracefully
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 918 (AFR write fails when subvolumes' state is swapped)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=918
Diffstat (limited to 'xlators/cluster/afr/src/afr-open.c')
0 files changed, 0 insertions, 0 deletions