dm: split DMF_BLOCK_IO flag into two
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)
commit1eb787ec183d1267cac95aae632e92dee05ed50a
treead8f50d995afc72fb4751fdd2436ebc40b648b0f
parentdf12ee996378a5917e9555169fe278ecca0612d4
dm: split DMF_BLOCK_IO flag into two

Split the DMF_BLOCK_IO flag into two.

DMF_BLOCK_IO_FOR_SUSPEND is set when I/O must be blocked while suspending a
device.  DMF_QUEUE_IO_TO_THREAD is set when I/O must be queued to a
worker thread for later processing.

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