mbox series

[v2,00/15] scsi: Add struct for args to execution functions

Message ID 20221209061325.705999-1-michael.christie@oracle.com (mailing list archive)
Headers show
Series scsi: Add struct for args to execution functions | expand

Message

Mike Christie Dec. 9, 2022, 6:13 a.m. UTC
The following patches were made over Martin's 6.2 scsi staging branch and
add a struct that contains optinal arguments to the scsi_execute* functions.
This will be needed for the patches that allow the scsi passthrough users
to control retries because I'm adding a new optional argument. I separated
the 2 sets to make it easier to review and post.

v2:
- Fix RQF_QUIET use.
- Use the more standard way of passing in a struct for passing in
  the scsi_exec_args struct.
- Pass a struct scsi_exec_args instead of pointer and add another
  macro for the case the caller doesn't want to pass in a scsi_exec_args
  struct. Then remove the NULL args check in __scsi_execute.