summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-31 01:58:42 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-09-01 05:09:49 +0200
commita45a1f3614182267803baadba657b59e2ddc0545 (patch)
tree0037ff3d93bb03e8b5578844447668afd2f0c4d6 /include
parentscsi: Show .retries and .jiffies_at_alloc in debugfs (diff)
downloadlinux-a45a1f3614182267803baadba657b59e2ddc0545.tar.xz
linux-a45a1f3614182267803baadba657b59e2ddc0545.zip
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 <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.com> Cc: Damien Le Moal <damien.lemoal@wdc.com> Cc: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions