On 05/04/12 20:32, Mike Christie wrote: > Oh not wait. I do not get the patch. After blk_cleanup_queue runs then > no IO should be running and no new IO can be queued can it? > >>> */ >>> blk_cleanup_queue(q); >>> + blk_abort_queue(q); >>> >>> if (sdev->is_visible) { >>> if (scsi_device_set_state(sdev, SDEV_CANCEL) != 0) After blk_cleanup_queue() finished no new requests will be queued to a SCSI LLD. However, that function doesn't wait for already queued requests to finish. I have verified with ib_srp LLD that the blk_abort_queue() call triggers the "SRP abort called" kernel log message generated by ib_srp when srp_abort() is called. Bart. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html