Files
linux-stable-mirror/drivers/scsi
Kai Mäkisara dbb6efb3d8 scsi: st: Restore some drive settings after reset
[ Upstream commit 7081dc75df ]

Some of the allowed operations put the tape into a known position to
continue operation assuming only the tape position has changed.  But reset
sets partition, density and block size to drive default values. These
should be restored to the values before reset.

Normally the current block size and density are stored by the drive.  If
the settings have been changed, the changed values have to be saved by the
driver across reset.

Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi>
Link: https://lore.kernel.org/r/20250120194925.44432-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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-05-29 11:03:03 +02:00
..
2024-08-12 22:05:50 -04:00
2024-08-12 22:05:50 -04:00
2025-05-02 07:59:09 +02:00
2024-06-20 15:19:17 -06:00
2024-10-02 17:23:23 -04:00