From 0c9648c1a02d91c8ea2f1315f1db23cd7531d715 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 20 Jun 2011 01:48:53 +0000 Subject: performance/quick-read: reset open_in_transit to zero in case of an error. Signed-off-by: Raghavendra G Signed-off-by: Anand Avati BUG: 3011 (Uninterruptible processes writing(reading ? ) to/from glusterfs share) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3011 --- xlators/performance/quick-read/src/quick-read.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators') 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); } -- cgit