summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-11-12 03:55:50 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-11-15 02:25:08 +0300
commit378eeade1fa907ab6f6795560d94d9e67ca9353d (patch)
tree1e33d28a7f887cd9e2a162aeec8680b3f0e998de /scripts/gdb/linux/proc.py
parent7b93ca43b7e21fbe6fb1a6f4ecce4a2f70f424a0 (diff)
downloadlinux-378eeade1fa907ab6f6795560d94d9e67ca9353d.tar.xz
scsi: scsi_transport_fc: Hold queue lock while calling blk_run_queue_async()
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_bsg_goose_queue() to ensure that the bsg queue does not disappear while fc_bsg_goose_queue() is in progress. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Hannes Reinecke <hare@suse.de> Cc: James Smart <james.smart@avagotech.com> Reviewed-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions