aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorIgor Pylypiv <[email protected]>2025-01-31 18:44:07 +0000
committerMartin K. Petersen <[email protected]>2025-02-03 22:10:15 +0000
commit9ff7c383b8ac0c482a1da7989f703406d78445c6 (patch)
tree6e6948a9c114ce483dd5d83f0453c52ce05cce9e /arch/powerpc/lib/code-patching.c
parentscsi: core: Use GFP_NOIO to avoid circular locking dependency (diff)
downloadkernel-9ff7c383b8ac0c482a1da7989f703406d78445c6.tar.gz
kernel-9ff7c383b8ac0c482a1da7989f703406d78445c6.zip
scsi: core: Do not retry I/Os during depopulation
Fail I/Os instead of retry to prevent user space processes from being blocked on the I/O completion for several minutes. Retrying I/Os during "depopulation in progress" or "depopulation restore in progress" results in a continuous retry loop until the depopulation completes or until the I/O retry loop is aborted due to a timeout by the scsi_cmd_runtime_exceeced(). Depopulation is slow and can take 24+ hours to complete on 20+ TB HDDs. Most I/Os in the depopulation retry loop end up taking several minutes before returning the failure to user space. Cc: [email protected] # 4.18.x: 2bbeb8d scsi: core: Handle depopulation and restoration in progress Cc: [email protected] # 4.18.x Fixes: e37c7d9a0341 ("scsi: core: sanitize++ in progress") Signed-off-by: Igor Pylypiv <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions