Thread (60 messages) 60 messages, 8 authors, 2021-05-19

Re: [PATCH v2 00/50] Remove the request pointer from struct scsi_cmnd

From: James Bottomley <James.Bottomley@HansenPartnership.com>
Date: 2021-05-18 17:55:56

On Tue, 2021-05-18 at 10:44 -0700, Bart Van Assche wrote:
Hi Martin,

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.
Are there any performance results to back up this assertion?  It's
quite a lot of churn so it would be nice to know it's worth it.

James

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help