On 03/19/12 17:04, Tejun Heo wrote: > I don't think it's a good idea to push requests out to stopped queue. > Wouldn't aborting all pending requests be better? Thanks. How about the (lightly tested) patch below ? It combines three separate changes: - Making blk_drain_queue() ignore the stopped state of a queue. - Add struct request_queue.kill_all_requests_fn. - Fix a null pointer dereference triggered by sd during device removal. -- 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