]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: scsi_debug: First fixes for tapes
authorKai Mäkisara <Kai.Makisara@kolumbus.fi>
Thu, 13 Feb 2025 09:26:30 +0000 (11:26 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 24 Feb 2025 03:01:02 +0000 (22:01 -0500)
commitf69da85d5d5cc5b7dfb963a6c6c1ac0dd9002341
treec05bf2568d26a506f7c33ae921aa7ccd3abdd19c
parent2014c95afecee3e76ca4a56956a936e23283f05b
scsi: scsi_debug: First fixes for tapes

Patch includes the following:

 - Enable MODE SENSE/SELECT without actual page (to read/write only the
   Block Descriptor)

 - Store the density code and block size in the Block Descriptor (only
   short version for tapes)

 - Fix REWIND not to use the wrong page filling function

Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi>
Link: https://lore.kernel.org/r/20250213092636.2510-2-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