Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI updates from James Bottomley:
"Updates to the usual drivers (ufs, pm80xx, libata-scsi, smartpqi,
lpfc, qla2xxx).
We have a couple of major core changes impacting other systems:
- Command Duration Limits, which spills into block and ATA
- block level Persistent Reservation Operations, which touches block,
nvme, target and dm
Both of these are added with merge commits containing a cover letter
explaining what's going on"
* tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (187 commits)
scsi: core: Improve warning message in scsi_device_block()
scsi: core: Replace scsi_target_block() with scsi_block_targets()
scsi: core: Don't wait for quiesce in scsi_device_block()
scsi: core: Don't wait for quiesce in scsi_stop_queue()
scsi: core: Merge scsi_internal_device_block() and device_block()
scsi: sg: Increase number of devices
scsi: bsg: Increase number of devices
scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
scsi: ufs: ufs-pci: Add support for Intel Arrow Lake
scsi: sd: sd_zbc: Use PAGE_SECTORS_SHIFT
scsi: ufs: wb: Add explicit flush_threshold sysfs attribute
scsi: ufs: ufs-qcom: Switch to the new ICE API
scsi: ufs: dt-bindings: qcom: Add ICE phandle
scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_RTC quirk
scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_INTR quirk
scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_RTC
scsi: ufs: core: Add host quirk UFSHCD_QUIRK_MCQ_BROKEN_INTR
scsi: ufs: core: Remove dedicated hwq for dev command
scsi: ufs: core: mcq: Fix the incorrect OCS value for the device command
scsi: ufs: dt-bindings: samsung,exynos: Drop unneeded quotes
...
This commit is contained in:
@@ -62,13 +62,17 @@ struct target_backend_ops {
|
||||
struct configfs_attribute **tb_dev_action_attrs;
|
||||
};
|
||||
|
||||
struct sbc_ops {
|
||||
struct exec_cmd_ops {
|
||||
sense_reason_t (*execute_rw)(struct se_cmd *cmd, struct scatterlist *,
|
||||
u32, enum dma_data_direction);
|
||||
sense_reason_t (*execute_sync_cache)(struct se_cmd *cmd);
|
||||
sense_reason_t (*execute_write_same)(struct se_cmd *cmd);
|
||||
sense_reason_t (*execute_unmap)(struct se_cmd *cmd,
|
||||
sector_t lba, sector_t nolb);
|
||||
sense_reason_t (*execute_pr_out)(struct se_cmd *cmd, u8 sa, u64 key,
|
||||
u64 sa_key, u8 type, bool aptpl);
|
||||
sense_reason_t (*execute_pr_in)(struct se_cmd *cmd, u8 sa,
|
||||
unsigned char *param_data);
|
||||
};
|
||||
|
||||
int transport_backend_register(const struct target_backend_ops *);
|
||||
@@ -86,7 +90,7 @@ sense_reason_t spc_emulate_report_luns(struct se_cmd *cmd);
|
||||
sense_reason_t spc_emulate_inquiry_std(struct se_cmd *, unsigned char *);
|
||||
sense_reason_t spc_emulate_evpd_83(struct se_cmd *, unsigned char *);
|
||||
|
||||
sense_reason_t sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops);
|
||||
sense_reason_t sbc_parse_cdb(struct se_cmd *cmd, struct exec_cmd_ops *ops);
|
||||
u32 sbc_get_device_rev(struct se_device *dev);
|
||||
u32 sbc_get_device_type(struct se_device *dev);
|
||||
sector_t sbc_get_write_same_sectors(struct se_cmd *cmd);
|
||||
|
||||
@@ -880,7 +880,8 @@ struct target_opcode_descriptor {
|
||||
u8 specific_timeout;
|
||||
u16 nominal_timeout;
|
||||
u16 recommended_timeout;
|
||||
bool (*enabled)(struct se_cmd *cmd);
|
||||
bool (*enabled)(struct target_opcode_descriptor *descr,
|
||||
struct se_cmd *cmd);
|
||||
void (*update_usage_bits)(u8 *usage_bits,
|
||||
struct se_device *dev);
|
||||
u8 usage_bits[];
|
||||
|
||||
Reference in New Issue
Block a user