Re: [PATCH v6 13/13] Do not queue new I/O after scsi_remove_host() started

2012-12-02 Thread Tejun Heo
Hello, On Wed, Nov 28, 2012 at 01:53:58PM +0100, Bart Van Assche wrote: > The function scsi_remove_host() may get invoked concurrently with > scsi_request_fn(). Kill those I/O requests for which processing > starts after scsi_remove_host() has been invoked. This makes > device removal a little qui

[PATCH v6 13/13] Do not queue new I/O after scsi_remove_host() started

2012-11-28 Thread Bart Van Assche
The function scsi_remove_host() may get invoked concurrently with scsi_request_fn(). Kill those I/O requests for which processing starts after scsi_remove_host() has been invoked. This makes device removal a little quicker by avoiding that such SCSI commands time out. Signed-off-by: Bart Van Assch