SCSI target development
 help / color / mirror / Atom feed
From: Maurizio Lombardi <mlombard@redhat.com>
To: martin.petersen@oracle.com
Cc: mlombard@arkamax.eu, michael.christie@oracle.com,
	target-devel@vger.kernel.org, loberman@redhat.com
Subject: [PATCH 0/1] Write commands abort hang
Date: Fri, 17 Jul 2026 16:38:27 +0200	[thread overview]
Message-ID: <20260717143828.76291-1-mlombard@redhat.com> (raw)

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(-)

-- 
2.55.0


             reply	other threads:[~2026-07-17 14:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-17 14:38 Maurizio Lombardi [this message]
2026-07-17 14:38 ` [PATCH 1/1] target: iscsi: Fix hang for aborted WRITE_PENDING commands Maurizio Lombardi
2026-07-17 15:08   ` Laurence Oberman
2026-07-17 16:38   ` Bart Van Assche
2026-07-20 12:41     ` Maurizio Lombardi
2026-08-27  9:33   ` Dmitry Bogdanov
2026-08-27 10:37     ` Maurizio Lombardi
2026-08-29  2:19   ` Martin K. Petersen (Oracle)
2026-08-27  7:30 ` [PATCH 0/1] Write commands abort hang Maurizio Lombardi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260717143828.76291-1-mlombard@redhat.com \
    --to=mlombard@redhat.com \
    --cc=loberman@redhat.com \
    --cc=martin.petersen@oracle.com \
    --cc=michael.christie@oracle.com \
    --cc=mlombard@arkamax.eu \
    --cc=target-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox