aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorMahesh Rajashekhara <[email protected]>2024-08-27 13:54:56 -0500
committerMartin K. Petersen <[email protected]>2024-08-28 22:10:34 -0400
commit4c76114932d1d6fad2e72823e7898a3c960cf2a7 (patch)
tree4e10fe73b0ae2fc2f4fb02d7a093ed7683f4bd06 /tools/testing/selftests/bpf/progs/test_autoload.c
parent058311b72f54890de824b063feb603942269b732 (diff)
scsi: smartpqi: correct stream detection
Correct stream detection by initializing the structure pqi_scsi_dev_raid_map_data to 0s. When the OS issues SCSI READ commands, the driver erroneously considers them as SCSI WRITES. If they are identified as sequential IOs, the driver then submits those requests via the RAID path instead of the AIO path. The 'is_write' flag might be set for SCSI READ commands also. The driver may interpret SCSI READ commands as SCSI WRITE commands, resulting in IOs being submitted through the RAID path. Note: This does not cause data corruption. Reviewed-by: Scott Benesh <[email protected]> Reviewed-by: Scott Teel <[email protected]> Reviewed-by: Mike McGowen <[email protected]> Signed-off-by: Mahesh Rajashekhara <[email protected]> Signed-off-by: Don Brace <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions