aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorKiyoshi Ueda <k-ueda@ct.jp.nec.com>2010-03-06 02:30:02 +0000
committerAlasdair G Kergon <agk@redhat.com>2010-03-06 02:30:02 +0000
commitd0259bf0eefc503d3c9c9ccda35033c3dd3aac30 (patch)
tree8e0a6ebf9e9509875c160369803a2b6dd2abd943 /drivers/md/raid10.c
parentfce323dd68e13354071538c765b062859e6f8286 (diff)
downloadkernel_samsung_aries-d0259bf0eefc503d3c9c9ccda35033c3dd3aac30.zip
kernel_samsung_aries-d0259bf0eefc503d3c9c9ccda35033c3dd3aac30.tar.gz
kernel_samsung_aries-d0259bf0eefc503d3c9c9ccda35033c3dd3aac30.tar.bz2
dm mpath: hold io until all pg_inits completed
m->queue_io is set to block processing I/Os, and it needs to be kept while pg-init, which issues multiple path activations, is in progress. But m->queue is cleared when a path activation completes without error in pg_init_done(), even while other path activations are in progress. That may cause undesired -EIO on paths which are not complete activation. This patch fixes that by not clearing m->queue_io until all path activations complete. (Before the hardware handlers were moved into the SCSI layer, pg_init only used one path.) 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>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions