summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-03-26 02:38:28 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-03-29 04:29:57 -0700
commita0dfbcdad536e42ae08a59b59de3aca3d11d95e8 (patch)
tree402d596298c2d6ee0bf8a961107d0cfbb7f197ed
parent03264314024e2380186fe232d98b29d5e3adef67 (diff)
performance/write-behind: Resume all the consecutive non-write operations in the request queue in a single go.
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> 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
-rw-r--r--xlators/performance/write-behind/src/write-behind.c3
1 files changed, 0 insertions, 3 deletions
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;
}
}