summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2011-06-20 01:48:53 +0000
committerAnand Avati <avati@gluster.com>2011-07-12 07:43:29 -0700
commit0c9648c1a02d91c8ea2f1315f1db23cd7531d715 (patch)
tree83e5597e8f146124b4ce1c1086a6584cf8aba91d
parent4760abc45b7f01aa6f0c867b55b1bbfc6164be5f (diff)
performance/quick-read: reset open_in_transit to zero in case of an error.v3.1.6qa1
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
-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 cc83772a55e..adee951cf46 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)
LOCK (&qr_fd_ctx->lock);
{
+ qr_fd_ctx->open_in_transit = 0;
list_splice_init (&qr_fd_ctx->waiting_ops,
&waiting_ops);
}