aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_prog_array_init.c
diff options
context:
space:
mode:
authorLi Feng <[email protected]>2024-07-18 16:07:22 +0800
committerMartin K. Petersen <[email protected]>2024-08-02 21:58:41 -0400
commitf874d7210d882cb1c58a8e3da66f61cdc63cd4b4 (patch)
tree63208500bf81ed9285fa8a5fc5d4df524eff5dcd /tools/testing/selftests/bpf/progs/test_prog_array_init.c
parentffed586b8c4f1fdb772ee350e229863f145defb5 (diff)
scsi: sd: Keep the discard mode stable
There is a scenario where a large number of discard commands are issued when the iscsi initiator connects to the target and then performs a session rescan operation. There is a time window, most of the commands are in UNMAP mode, and some discard commands become WRITE SAME with UNMAP. The discard mode has been negotiated during the SCSI probe. If the mode is temporarily changed from UNMAP to WRITE SAME with UNMAP, an I/O ERROR may occur because the target may not implement WRITE SAME with UNMAP. Keep the discard mode stable to fix this issue. Signed-off-by: Li Feng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions