]> git.baikalelectronics.ru Git - kernel.git/commit
dm: simplify dm_request loop
authorAlasdair G Kergon <agk@redhat.com>
Wed, 8 Apr 2009 23:27:14 +0000 (00:27 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 8 Apr 2009 23:27:14 +0000 (00:27 +0100)
commit8e9d8a789b73df368962250a13b43b7187fc6cd4
tree42813374e137f5ac6d9d7aedfae02a089b6443a6
parentddd6451a13c05e12a1b2ce2eb68b917277bb79eb
dm: simplify dm_request loop

Refactor the code in dm_request().

Require the new DMF_BLOCK_FOR_SUSPEND flag on readahead bios we will
discard so we don't drop such bios while processing a barrier.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c