Re: [PATCH v5 00/52] Remove the request pointer from struct scsi_cmnd

Martin K. Petersen
2021-08-10T05:28:50Z

Hi Bart!

> This patch series implements the following two changes for all SCSI drivers:
> - Use blk_mq_rq_from_pdu() instead of the request member of struct scsi_cmnd
> since adding an offset to a pointer is faster than pointer indirection.
> - Remove the request pointer from struct scsi_cmnd.

There were failures in storvsc and ufshpb. I fixed them up.

Also rebased my PI series on top and fixed scsi_logical_block_count() to
use scsi_cmd_to_rq().

> Please consider this patch series for kernel v5.14.

A bit too late for 5.14 :)

Applied to 5.15/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering