diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2025-10-31 23:39:15 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-11-13 01:02:31 +0300 |
| commit | 581ca490353ca5f4bee0d662595af27c06e603d4 (patch) | |
| tree | 93c9b1e8c586154bb8b35b4ab6ffe2982dabbedc /scripts/objdiff | |
| parent | a2ab4e33286de37f3fe8f28f86f5f71d6b0ae3b0 (diff) | |
| download | linux-581ca490353ca5f4bee0d662595af27c06e603d4.tar.xz | |
scsi: scsi_debug: Abort SCSI commands via an internal command
Add a .queue_reserved_command() implementation and call it from the code
path that aborts SCSI commands. This ensures that the code for
allocating a pseudo SCSI device and also the code for allocating and
processing reserved commands gets triggered while running blktests.
Most of the code in this patch is a modified version of code from John
Garry. See also
https://lore.kernel.org/linux-scsi/75018e17-4dea-4e1b-8c92-7a224a1e13b9@oracle.com/
Reviewed-by: John Garry <john.g.garry@oracle.com>
Suggested-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20251031204029.2883185-8-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
