diff options
author | 2016-11-22 16:17:50 -0800 | |
---|---|---|
committer | 2016-12-20 17:01:28 -0500 | |
commit | 7dbbf0fa1bf14c17900bb8057986b06db3822239 (patch) | |
tree | 95caa3b38a4ab3f291ec587cf7dc8d8616764d9f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | scsi: avoid a permanent stop of the scsi device's request queue (diff) | |
download | wireguard-linux-7dbbf0fa1bf14c17900bb8057986b06db3822239.tar.xz wireguard-linux-7dbbf0fa1bf14c17900bb8057986b06db3822239.zip |
scsi: scsi-mq: Wait for .queue_rq() if necessary
Ensure that if scsi-mq is enabled that scsi_internal_device_block()
waits until ongoing shost->hostt->queuecommand() calls have finished.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Cc: James Bottomley <jejb@linux.vnet.ibm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Doug Ledford <dledford@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions