From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Hou Pu <houpu@bytedance.com>,
michael.christie@oracle.com, target-devel@vger.kernel.org,
linux-scsi@vger.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
stable@vger.kernel.org
Subject: Re: [PATCH] iscsi-target: fix hang in iscsit_access_np() when getting tpg->np_login_sem
Date: Wed, 2 Sep 2020 23:00:58 -0400 [thread overview]
Message-ID: <159910202092.23499.4192678071370193305.b4-ty@oracle.com> (raw)
In-Reply-To: <20200729130343.24976-1-houpu@bytedance.com>
On Wed, 29 Jul 2020 09:03:43 -0400, Hou Pu wrote:
> The iscsi target login thread might stuck in following stack:
>
> cat /proc/`pidof iscsi_np`/stack
> [<0>] down_interruptible+0x42/0x50
> [<0>] iscsit_access_np+0xe3/0x167
> [<0>] iscsi_target_locate_portal+0x695/0x8ac
> [<0>] __iscsi_target_login_thread+0x855/0xb82
> [<0>] iscsi_target_login_thread+0x2f/0x5a
> [<0>] kthread+0xfa/0x130
> [<0>] ret_from_fork+0x1f/0x30
>
> [...]
Applied to 5.9/scsi-fixes, thanks!
[1/1] scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem
https://git.kernel.org/mkp/scsi/c/ed43ffea78dc
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2020-09-03 3:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-29 13:03 [PATCH] iscsi-target: fix hang in iscsit_access_np() when getting tpg->np_login_sem Hou Pu
2020-08-31 12:02 ` Hou Pu
2020-09-02 2:57 ` Michael Christie
2020-09-02 4:16 ` Hou Pu
2020-09-02 19:02 ` Mike Christie
2020-09-03 3:00 ` Martin K. Petersen [this message]
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=159910202092.23499.4192678071370193305.b4-ty@oracle.com \
--to=martin.petersen@oracle.com \
--cc=houpu@bytedance.com \
--cc=linux-scsi@vger.kernel.org \
--cc=michael.christie@oracle.com \
--cc=stable@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).