Skip to content

Write commands abort hang

Maurizio Lombardi target-devel 1 version Applied

Status from this message: Applied to 7.3/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1target: iscsi: Fix hang for aborted WRITE_PENDING commandsdrivers/target/iscsi/iscsi_target.c+3 -17 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchLaurence Oberman
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] Write commands abort hang

One of our customers reported that sometimes the LIO driver hangs when performing a LUN reset while I/O is underway.

I was able to reproduce the hang by using the following libiscsi patch:

https://arkamax.eu/misc/dataout_abort_libiscsi.patch

INFO: task kworker/5:0:514619 blocked for more than 46 seconds.
__wait_for_common+0x94/0x1b0
target_put_cmd_and_wait+0x6d/0xb0 [target_core_mod]
core_tmr_drain_state_list+0x2a3/0x330 [target_core_mod]
core_tmr_lun_reset+0x93/0x1a0 [target_core_mod]
target_tmr_work+0xce/0x100 [target_core_mod]
process_one_work+0x188/0x3b0
worker_thread+0x2ef/0x410

Maurizio Lombardi (1):
scsi: target: iscsi: Fix hang for aborted WRITE_PENDING commands

 drivers/target/iscsi/iscsi_target.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.55.0