summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read/src
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-06-20 01:46:07 +0000
committerAnand Avati <avati@gluster.com>2011-06-22 08:40:23 -0700
commit8c24158f2bda14e9debcc2f4ccde53aa9629c2b7 (patch)
tree1d602ab975d0505d316624764e309232e8201983 /xlators/performance/quick-read/src
parent608b22609793549eb8e8e2b2899af2d1ff5c193c (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/performance/quick-read/src')
-rw-r--r--xlators/performance/quick-read/src/quick-read.c1
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 88f7fd74b13..1a458f4a672 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -138,6 +138,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);
}