]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: scsi_debug: Add read support and update locate for tapes
authorKai Mäkisara <Kai.Makisara@kolumbus.fi>
Thu, 13 Feb 2025 09:26:33 +0000 (11:26 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 24 Feb 2025 03:01:03 +0000 (22:01 -0500)
commit0744d3114c60f664fcfe9c0d247f30dc8a1c0bed
treec76af5292c56224a87a9f6cfc904323e99e9ba09
parente1ac21310aaa5810e08b2d2a9dcee93b60ad3f87
scsi: scsi_debug: Add read support and update locate for tapes

Support for the READ (6) and SPACE (6) commands for tapes based on the
previous write patch is added. The LOCATE (10) command is updated to use
the written data.

Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi>
Link: https://lore.kernel.org/r/20250213092636.2510-5-Kai.Makisara@kolumbus.fi
Reviewed-by: John Meneghini <jmeneghi@redhat.com>
Tested-by: John Meneghini <jmeneghi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c