commit | d7ed538a02c219119adb20f1dccbf0f8015e53f3 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Tue Aug 02 20:08:02 2005 +0200 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Aug 02 11:19:18 2005 -0700 |
tree | d716ae7dc2e986b36c8180333839312dc0eab7e2 | |
parent | f7c80c9f77b0e8a59a19506fd3caf323408a5166 [diff] |
[PATCH] cfq-iosched: fix problem with barriers and max_depth == 1 CFQ will currently stall when using write barriers and the default max_depth setting of 1, since we artificially need a depth of 2 when pre-pending the first flush. So never deny the barrier request going to the device. This is a regression since 2.6.12, it was found in SUSE testing. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>