From: NeilBrown Date: Tue, 30 Jun 2009 07:35:44 +0000 (+0200) Subject: blocK: Restore barrier support for md and probably other virtual devices. X-Git-Tag: v2.6.31-rc2~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db64f680ba4b5c56c4be59f0698000df89ff0281;p=pandora-kernel.git blocK: Restore barrier support for md and probably other virtual devices. The next_ordered flag is only meaningful for devices that use __make_request. So move the test against next_ordered out of generic code and in to __make_request Since this test was added, barriers have not worked on md or any devices that don't use __make_request and so don't bother to set next_ordered. (dm explicitly sets something other than QUEUE_ORDERED_NONE since commit 99360b4c18f7675b50d283301d46d755affe75fd but notes in the comments that it is otherwise meaningless). Cc: Ken Milmore Cc: stable@kernel.org Signed-off-by: NeilBrown Signed-off-by: Jens Axboe --- Reading git-diff-tree failed