[dm-devel] blk_abort_queue on failed paths?

David Strand dpstrand at gmail.com
Tue Jun 2 22:55:00 UTC 2009


After updating to kernel 2.6.28 I found that when I performed some
cable break testing during device i/o, I would get unwanted device or
host resets. Ultimately I traced it back to this patch:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.29.y.git;a=commit;h=224cb3e981f1b2f9f93dbd49eaef505d17d894c2

The call to blk_abort_queue causes the block layer to call
scsi_times_out for pending i/o, which can (or will) ultimately lead to
device, and/or bus and/or host resets, which of course cause all the
other devices significant disruption.

What was the reason for this change? I searched through my email from
this mailing list and could not find a discussion about it.




More information about the dm-devel mailing list