Re: [PATCH] scsi_transport_fc: Hold queue lock while calling blk_run_queue_async()

2016-11-14 Thread Martin K. Petersen
> "Bart" == Bart Van Assche writes: Bart> It is required to hold the queue lock when calling Bart> blk_run_queue_async() to avoid that a race between Bart> blk_run_queue_async() and blk_cleanup_queue() is Bart> triggered. Additionally, remove the get_device() and put_device() Bart> calls from

Re: [PATCH] scsi_transport_fc: Hold queue lock while calling blk_run_queue_async()

2016-11-14 Thread James Smart
Reviewed-By: James Smart (Bart: fyi - note my change in email address) -- james On 11/11/2016 4:55 PM, Bart Van Assche wrote: It is required to hold the queue lock when calling blk_run_queue_async() to avoid that a race between blk_run_queue_async() and blk_cleanup_queue() is triggered. Addi

[PATCH] scsi_transport_fc: Hold queue lock while calling blk_run_queue_async()

2016-11-11 Thread Bart Van Assche
It is required to hold the queue lock when calling blk_run_queue_async() to avoid that a race between blk_run_queue_async() and blk_cleanup_queue() is triggered. Additionally, remove the get_device() and put_device() calls from fc_bsg_goose_queue. It is namely the responsibility of the caller of fc