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)
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>

No differences found