On 12/14/22 15:49, Mike Christie wrote:
This begins to move the SCSI execution functions to use a struct for passing in optional args. This patch adds the new struct, temporarily converts scsi_execute and scsi_execute_req ands a new helper, scsi_execute_cmd, which takes the scsi_exec_args struct. There should be no change in behavior. We no longer alilow users to pass
^^^^^^ allow?
in any request->rq_flags valu, but they were only passing in RQF_QUIET
^^^^ ^^^^^^^^^ value? RQF_PM?
which we do support by allowing users to pass in the BLK_MQ_REQ flags used by blk_mq_alloc_request. The next patches will convert scsi_execute and scsi_execute_req users to the new helpers then remove scsi_execute and scsi_execute_req.
After the patch description has been updated, please add: Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>