commit | 94d6351e147231b2c5a9512d69693ee8ac0c204d | [log] [tgz] |
---|---|---|
author | Milan Broz <mbroz@redhat.com> | Fri Feb 08 02:10:27 2008 +0000 |
committer | Alasdair G Kergon <agk@redhat.com> | Fri Feb 08 02:10:27 2008 +0000 |
tree | a0b5c1935077c1bf40db1945c5f30e8d8a9a47a2 | |
parent | 73d410c0137f63c6597e9763c81e5f4d015e9940 [diff] |
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>