From a0dfbcdad536e42ae08a59b59de3aca3d11d95e8 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Fri, 26 Mar 2010 02:38:28 +0000 Subject: performance/write-behind: Resume all the consecutive non-write operations in the request queue in a single go. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 740 (read-ahead does not work to its full potential when loaded on top of write-behind) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=740 --- xlators/performance/write-behind/src/write-behind.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'xlators') diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c index 6c0ee1723..1402e5c44 100644 --- a/xlators/performance/write-behind/src/write-behind.c +++ b/xlators/performance/write-behind/src/write-behind.c @@ -1558,9 +1558,6 @@ __wb_get_other_requests (list_head_t *list, list_head_t *other_requests) list_add_tail (&request->other_requests, other_requests); count++; - - /* lets handle one at a time */ - break; } } -- cgit