summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorKai Mäkisara <Kai.Makisara@kolumbus.fi>2025-03-11 14:25:16 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-03-18 05:04:22 +0300
commit8db816c6f176321e42254badd5c1a8df8bfcfdb4 (patch)
treeddd6a0f5b6e37b0261e4423f2d9eb5dfe42ff92d /rust/helpers/helpers.c
parentad77cebf97bd42c93ab4e3bffd09f2b905c1959a (diff)
downloadlinux-8db816c6f176321e42254badd5c1a8df8bfcfdb4.tar.xz
scsi: st: Tighten the page format heuristics with MODE SELECT
In the days when SCSI-2 was emerging, some drives did claim SCSI-2 but did not correctly implement it. The st driver first tries MODE SELECT with the page format bit set to set the block descriptor. If not successful, the non-page format is tried. The test only tests the sense code and this triggers also from illegal parameter in the parameter list. The test is limited to "old" devices and made more strict to remove false alarms. Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi> Link: https://lore.kernel.org/r/20250311112516.5548-4-Kai.Makisara@kolumbus.fi Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions