diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-02-10 11:32:56 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-02-21 22:00:51 -0500 |
commit | 35cd2f5542df569122d48caf606b972642012c50 (patch) | |
tree | 952646179a0576238eb2b04989d4a599d75c56ad /include/scsi | |
parent | 442336a5a999d4aae6221e3496dad071a152b1fb (diff) | |
download | linux-stable-35cd2f5542df569122d48caf606b972642012c50.tar.gz linux-stable-35cd2f5542df569122d48caf606b972642012c50.tar.bz2 linux-stable-35cd2f5542df569122d48caf606b972642012c50.zip |
scsi: core: Extend struct scsi_exec_args
Allow SCSI LLDs to specify SCMD_* flags.
Link: https://lore.kernel.org/r/20230210193258.4004923-2-bvanassche@acm.org
Cc: Mike Christie <michael.christie@oracle.com>
Cc: John Garry <john.g.garry@oracle.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 7e95ec45138f..de310f21406c 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h @@ -462,6 +462,7 @@ struct scsi_exec_args { unsigned int sense_len; /* sense buffer len */ struct scsi_sense_hdr *sshdr; /* decoded sense header */ blk_mq_req_flags_t req_flags; /* BLK_MQ_REQ flags */ + int scmd_flags; /* SCMD flags */ int *resid; /* residual length */ }; |