]> err.no Git - linux-2.6/commit
dm: split dm_suspend io_lock hold into two
authorMilan Broz <mbroz@redhat.com>
Fri, 8 Feb 2008 02:10:27 +0000 (02:10 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:10:27 +0000 (02:10 +0000)
commit94d6351e147231b2c5a9512d69693ee8ac0c204d
treea0b5c1935077c1bf40db1945c5f30e8d8a9a47a2
parent73d410c0137f63c6597e9763c81e5f4d015e9940
dm: split dm_suspend io_lock hold into two

Change io_locking to allow processing flush in separate thread.

Because we have DMF_BLOCK_IO already set, any possible
new ios are queued in dm_requests now.

In the case of interrupting previous wait there can be more
ios queued (we unlocked io_lock for a while) but this is safe.

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