diff options
author | Raghavendra G <raghavendra@gluster.com> | 2011-06-22 02:20:02 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-06-22 08:42:15 -0700 |
commit | fa7c54f8e89abdee8984439974eb12bbf51a0e5b (patch) | |
tree | de6a00010acad00d7e80ef6932545ac497ba3c62 /xlators | |
parent | 25b21b6d0889995c841c963247acb815ca69f694 (diff) |
performance/quick-read: reset open_in_transit to zero in case of an error.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 3011 (Uninterruptible processes writing(reading ? ) to/from glusterfs share)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3011
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/performance/quick-read/src/quick-read.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index 2d7f4f205ee..75a799d1080 100644 --- a/xlators/performance/quick-read/src/quick-read.c +++ b/xlators/performance/quick-read/src/quick-read.c @@ -137,6 +137,7 @@ qr_resume_pending_ops (qr_fd_ctx_t *qr_fd_ctx, int32_t op_ret, int32_t op_errno) LOCK (&qr_fd_ctx->lock); { + qr_fd_ctx->open_in_transit = 0; list_splice_init (&qr_fd_ctx->waiting_ops, &waiting_ops); } |