[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1fu5cpr3g.fsf@oracle.com>
Date: Tue, 06 Mar 2018 21:16:51 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Jianchao Wang <jianchao.w.wang@...cle.com>
Cc: jejb@...ux.vnet.ibm.com, martin.petersen@...cle.com,
Bart.VanAssche@....com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, Christoph Hellwig <hch@....de>
Subject: Re: [PATCH V4] scsi: core: use blk_mq_requeue_request in __scsi_queue_insert
Jianchao,
> In scsi core, __scsi_queue_insert should just put request back on
> the queue and retry using the same command as before. However, for
> blk-mq, scsi_mq_requeue_cmd is employed here which will unprepare
> the request. To align with the semantics of __scsi_queue_insert,
> use blk_mq_requeue_request with kick_requeue_list == true and put
> the reference of scsi_device.
Applied to 4.17/scsi-queue, thank you!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists