]> git.baikalelectronics.ru Git - kernel.git/commit
dm mpath: disable blk_abort_queue
authorMike Snitzer <snitzer@redhat.com>
Thu, 13 Jan 2011 19:59:46 +0000 (19:59 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 13 Jan 2011 19:59:46 +0000 (19:59 +0000)
commitc9acbd78c1b663e96b5365c42b3ca4acebeeae60
tree340925bf6af03a51f13f165cf68263be247c9d25
parentebf73d08b192b176d66cce879194ee230210a496
dm mpath: disable blk_abort_queue

Revert commit 0d0882bf57eb0de80bf100ba7508b723e24efca9
  dm: Call blk_abort_queue on failed paths

Multipath began to use blk_abort_queue() to allow for
lower latency path deactivation.  This was found to
cause list corruption:

   the cmd gets blk_abort_queued/timedout run on it and the scsi eh
   somehow is able to complete and run scsi_queue_insert while
   scsi_request_fn is still trying to process the request.

   https://www.redhat.com/archives/dm-devel/2010-November/msg00085.html

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Mike Anderson <andmike@linux.vnet.ibm.com>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Cc: stable@kernel.org
drivers/md/dm-mpath.c