mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
scsi: scsi_debug: Remove sdebug_device_access_info
This structure is not used, so delete it. It was originally intended for supporting checking for atomic writes overlapping with ongoing reads and writes, but that support never got added. SBC-4 r22 section 4.29.3.2 "Performing operations during an atomic write operation" describes two methods of handling overlapping atomic writes. Currently the only method supported is for the ongoing read or write to complete. Signed-off-by: John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20250224115517.495899-2-john.g.garry@oracle.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
0107fb8686
commit
2af3b0c108
|
|
@ -460,12 +460,6 @@ struct sdebug_defer {
|
|||
enum sdeb_defer_type defer_t;
|
||||
};
|
||||
|
||||
struct sdebug_device_access_info {
|
||||
bool atomic_write;
|
||||
u64 lba;
|
||||
u32 num;
|
||||
struct scsi_cmnd *self;
|
||||
};
|
||||
|
||||
struct sdebug_queued_cmd {
|
||||
/* corresponding bit set in in_use_bm[] in owning struct sdebug_queue
|
||||
|
|
@ -473,7 +467,6 @@ struct sdebug_queued_cmd {
|
|||
*/
|
||||
struct sdebug_defer sd_dp;
|
||||
struct scsi_cmnd *scmd;
|
||||
struct sdebug_device_access_info *i;
|
||||
};
|
||||
|
||||
struct sdebug_scsi_cmd {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user