commit | 2bded7bd7e8b12a913b0b58167a48220560e1514 | [log] [tgz] |
---|---|---|
author | Kiyoshi Ueda <k-ueda@ct.jp.nec.com> | Sat Mar 06 02:32:13 2010 +0000 |
committer | Alasdair G Kergon <agk@redhat.com> | Sat Mar 06 02:32:13 2010 +0000 |
tree | f903c0f06b7b9a3e9fdcc347d00d44fa8290a1d0 | |
parent | d0259bf0eefc503d3c9c9ccda35033c3dd3aac30 [diff] |
dm mpath: wait for pg_init completion when suspending When suspending the device we must wait for all I/O to complete, but pg-init may be still in progress even after flushing the workqueue for kmpath_handlerd in multipath_postsuspend. This patch waits for pg-init completion correctly in multipath_postsuspend(). Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com> Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>