diff options
author | Bart Van Assche <[email protected]> | 2017-08-30 16:58:42 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-08-31 23:09:49 -0400 |
commit | a45a1f3614182267803baadba657b59e2ddc0545 (patch) | |
tree | 0037ff3d93bb03e8b5578844447668afd2f0c4d6 /tools/perf/util/trace-event-scripting.c | |
parent | cad8cf20a65f3d6cd70719bd0fec2d54546b12ef (diff) |
scsi: scsi-mq: Always unprepare before requeuing a request
One of the two scsi-mq functions that requeue a request unprepares a
request before requeueing (scsi_io_completion()) but the other function
not (__scsi_queue_insert()). Make sure that a request is unprepared
before requeuing it.
Fixes: commit d285203cf647 ("scsi: add support for a blk-mq based I/O path.")
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Damien Le Moal <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions