scsi: Add struct for args to execution functions
Status from this message: Applied to 6.3/scsi-staging, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest15 patches 2 repliesApplied
- v315 patches 12 repliesSuperseded
- v215 patches 36 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 15 patches | 7 replies | Superseded |
Changes in v4 from the cover letter
- Fix patch1's description
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | scsi: Add struct for args to execution functionsdrivers/ include/ | +62 | 0 replies | |
| 2/15 | ata: libata-scsi: Convert to scsi_execute_cmddrivers/ | +14 | 0 replies | |
| 3/15 | hwmon: drivetemp: Convert to scsi_execute_cmddrivers/ | +5 | 0 replies | |
| 4/15 | scsi: ch: Convert to scsi_execute_cmddrivers/ | +15 | 0 replies | |
| 5/15 | scsi: scsi_dh: Convert to scsi_execute_cmddrivers/ drivers/ drivers/ +1 more | +45 | 0 replies | |
| 6/15 | scsi: core: Convert to scsi_execute_cmddrivers/ drivers/ drivers/ +1 more | +45 | 0 replies | |
| 7/15 | scsi: spi: Convert to scsi_execute_cmddrivers/ | +15 | 0 replies | |
| 8/15 | scsi: sd: Convert to scsi_execute_cmddrivers/ | +55 | 0 replies | |
| 9/15 | scsi: zbc: Convert to scsi_execute_cmddrivers/ | +5 | 0 replies | |
| 10/15 | scsi: ses: Convert to scsi_execute_cmddrivers/ | +10 | 0 replies | |
| 11/15 | scsi: sr: Convert to scsi_execute_cmddrivers/ drivers/ | +17 | 0 replies | |
| 12/15 | scsi: virtio_scsi: Convert to scsi_execute_cmddrivers/ | +2 | 0 replies | |
| 13/15 | scsi: target_core_pscsi: Convert to scsi_execute_cmddrivers/ | +5 | 0 replies | |
| 14/15 | scsi: cxlflash: Convert to scsi_execute_cmddrivers/ drivers/ | +34 | 0 replies | |
| 15/15 | scsi: Remove scsi_execute_req/scsi_execute functionsinclude/ | +0 | 0 replies |
Reviews trailers per patch
All 15 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | John Garry | Bart Van Assche | Damien Le Moal | Christoph Hellwig |
|---|---|---|---|---|
| Series | R-b | |||
| 1/15 | R-b | R-b | R-b | |
| 2/15 | R-b | R-b | A-b | |
| 3/15 | R-b | R-b | ||
| 4/15 | R-b | R-b | ||
| 5/15 | R-b | R-b | ||
| 6/15 | R-b | R-b | R-b | |
| 7/15 | R-b | R-b | ||
| 8/15 | R-b | R-b | R-b | |
| 9/15 | R-b | R-b | R-b | |
| 10/15 | R-b | R-b | ||
| 11/15 | R-b | R-b | R-b | |
| 12/15 | R-b | R-b | ||
| 13/15 | R-b | R-b | ||
| 14/15 | R-b | R-b | ||
| 15/15 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v4 00/15] scsi: Add struct for args to execution functions
The following patches were made over Martin's scsi staging/next branch. They 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.
V4:
- Fix patch1's description
v3:
- Init scsi_exec_args user's sshdr as "sshdr = sshdr ? : local".
- Use just one sense_len check and remove the scsi_execute_args wrapper.
- Just use one scsi_execute_cmd function and have it check if the args is NULL else use a local one.
- Pass exec_args by pointer.
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.