mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Carlos Maiolino <cem@kernel.org>
To: djwong@kernel.org, Binbin Deng <18983559317@163.com>
Cc: linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org,
	 stable@vger.kernel.org
Subject: Re: [PATCH v1] xfs: set healthmon mount cookie before publishing it
Date: Tue, 03 Nov 2026 11:02:25 +0100	[thread overview]
Message-ID: <179370014586.413123.10104508891593461029.b4-ty@kernel.org> (raw)
In-Reply-To: <20261015080225.45215-1-18983559317@163.com>

On Thu, 15 Oct 2026 16:02:25 +0800, Binbin Deng wrote:
> xfs_ioc_health_monitor() allocates the healthmon object with kzalloc(), so
> mount_cookie starts as zero.  zero is also DETACHED_MOUNT_COOKIE, but
> xfs_healthmon_attach() publishes hm through mp->m_healthmon before storing
> the mount cookie.  A concurrent reporter can therefore acquire hm from
> xfs_healthmon_get(), see the detached cookie in xfs_healthmon_push(), and
> drop the event even though the monitor is being attached.
> 
> [...]

Applied to for-next, thanks!

[1/1] xfs: set healthmon mount cookie before publishing it
      commit: 0344a9492efac4c79202a07cf284a382f7054170

Best regards,
-- 
Carlos Maiolino <cem@kernel.org>


      parent reply	other threads:[~2026-11-03 10:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-15  8:02 Binbin Deng
2026-10-15 14:38 ` Darrick J. Wong
2026-10-27 15:16 ` Christoph Hellwig
2026-11-03 10:02 ` Carlos Maiolino [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=179370014586.413123.10104508891593461029.b4-ty@kernel.org \
    --to=cem@kernel.org \
    --cc=18983559317@163.com \
    --cc=djwong@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    --cc=stable@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

all inboxes | Powered by JetHome®