From: Kiyoshi Ueda Date: Sat, 6 Mar 2010 02:32:13 +0000 (+0000) Subject: dm mpath: wait for pg_init completion when suspending X-Git-Tag: v2.6.34-rc1~24^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bded7bd7e8b12a913b0b58167a48220560e1514;p=pandora-kernel.git 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 Signed-off-by: Jun'ichi Nomura Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed