On 2012-11-28 13:39, Bart Van Assche wrote: > Fix a few race conditions that can be triggered by removing a device: > - Avoid that request_fn() can be invoked on a dead queue. > - Avoid that blk_cleanup_queue() can finish while request_fn is still > running. > - Fix a race between starved list processing and device removal. > - Avoid that a SCSI LLD callback can be invoked after scsi_remove_host() > finished. > - Speed up device removal by stopping error handling as soon as > scsi_remove_host() started. Bart, I've applied 1-6 to the block 3.8 tree. I still am not super happy with 5/6, but I don't have any better ideas at the moment. -- Jens Axboe -- 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