From: Jens Axboe Date: Tue, 2 Aug 2005 18:08:02 +0000 (+0200) Subject: [PATCH] cfq-iosched: fix problem with barriers and max_depth == 1 X-Git-Tag: v2.6.13-rc6~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ed538a02c219119adb20f1dccbf0f8015e53f3;p=pandora-kernel.git [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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed