From: Guixin Liu <kanie@linux.alibaba.com>
To: Nilay Shroff <nilay@linux.ibm.com>, Christoph Hellwig <hch@lst.de>
Cc: Keith Busch <kbusch@kernel.org>, Jens Axboe <axboe@kernel.dk>,
Sagi Grimberg <sagi@grimberg.me>, Daniel Wagner <dwagner@suse.de>,
Hannes Reinecke <hare@suse.de>,
linux-nvme@lists.infradead.org
Subject: Re: [PATCH] nvme-multipath: protect ana_log_buf teardown with ana_lock
Date: Wed, 25 Nov 2026 19:28:28 +0800 [thread overview]
Message-ID: <557019e8-9699-4fc8-bd98-21a8cfd4deee@linux.alibaba.com> (raw)
In-Reply-To: <a0f493ac-7792-4390-a28f-5ee94e32ad52@linux.ibm.com>
在 2026/11/25 17:43, Nilay Shroff 写道:
> On 11/25/26 12:53 PM, Christoph Hellwig wrote:
>> On Wed, Nov 25, 2026 at 02:01:53PM +0800, Guixin Liu wrote:
>>> Reported by Sashiko AI review as a pre-existing issue (not introduced by
>>> the ANATT timer fix). Confirmed by source analysis and reproduced in a
>>> KASAN guest with nvmet-tcp loopback and ANA enabled.
>>
>> Sashiko thinks this is still not enough, and it's probably right.
>>
> Yes and I think we should add __guarded_by(&ctrl->ana_lock) context annotation
> around ctrl->ana_log_buf and ctrl->ana_log_size.
True, I will do the full fix in v2, thanks.
Best Regards,
Guixin Liu
>
> Thanks,
> --Nilay
prev parent reply other threads:[~2026-11-25 11:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 6:01 [PATCH] nvme-multipath: protect ana_log_buf teardown with ana_lock Guixin Liu
2026-11-25 6:10 ` sashiko-bot
2026-11-25 6:33 ` Guixin Liu
2026-11-25 7:23 ` Christoph Hellwig
2026-11-25 9:43 ` Nilay Shroff
2026-11-25 11:28 ` Guixin Liu [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=557019e8-9699-4fc8-bd98-21a8cfd4deee@linux.alibaba.com \
--to=kanie@linux.alibaba.com \
--cc=axboe@kernel.dk \
--cc=dwagner@suse.de \
--cc=hare@suse.de \
--cc=hch@lst.de \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=nilay@linux.ibm.com \
--cc=sagi@grimberg.me \
/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.