All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: Qiliang Yuan <qiliang.yuan@linux.dev>
Cc: "Martin K. Petersen" <mkp@kernel.org>,
	 Mike Christie <michael.christie@oracle.com>,
	 linux-scsi@vger.kernel.org, target-devel@vger.kernel.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: target: alua: Free target port groups with kfree_rcu()
Date: Sat, 05 Dec 2026 20:38:09 -0500	[thread overview]
Message-ID: <yq1wlpndwbe.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261111-bug-target-alua-free-gp-v1-1-d1e692ae8694@linux.dev>


Qiliang,

> core_alua_free_tg_pt_gp() frees a target port group when its configfs
> group goes away, including the default group of every device when its
> backstore is deleted. Readers of lun->lun_tg_pt_gp may still hold the
> group, so it waits for an RCU grace period before freeing it.

Applied to 7.5/scsi-staging, thanks!

-- 
Martin K. Petersen

      parent reply	other threads:[~2026-12-06  1:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11 13:47 [PATCH] scsi: target: alua: Free target port groups with kfree_rcu() Qiliang Yuan
2026-11-11 13:58 ` sashiko-bot
2026-11-15  3:42   ` Qiliang Yuan
2026-12-06  1:38 ` 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=yq1wlpndwbe.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=michael.christie@oracle.com \
    --cc=qiliang.yuan@linux.dev \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.