On Tue, May 12, 2015 at 10:49:47AM +0200, Bart Van Assche wrote: > Thanks for the feedback. However, I'm still wondering what will happen if > blk_abort_request() causes e.g. blk_rq_unmap_user() or blk_update_request() > to be called while mq_ops->queue_rq() or q->request_fn() is still in > progress ? We will never call the blk-mq ->timeout handler before the LLDD called blk_mq_start_request, which the driver should only call once it's ready to handle ->timeout. For normal blk-mq drivers this works fine, but for SCSI we still have the problem that we need'd really need to move this into the ->queuecommand function to be fully safe against the driver internal data structures, the current version only helps with the SCSI level structures. -- 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