On 11/10/22 11:26, Mike Christie wrote:
One thing that is weird to me is that scsi_execute_req is the more scsi'ish interface. I would have thought since it took the req flag since it has the req naming in it. I don't care either way.
Although this is not a strong argument, it is an argument: passing a DMA direction is slightly more descriptive than passing REQ_OP_DRV_* since the information that no data is passed would be lost if the DMA direction argument would be changed into a REQ_OP_DRV_* argument.
Bart.