From: Yu Kuai <yukuai3@huawei.com>
To: Guillaume Morin <guillaume@morinfr.org>,
Yu Kuai <yukuai1@huaweicloud.com>
Cc: <linux-raid@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<song@kernel.org>
Subject: Re: [BUG] possible race between md_free_disk and md_notify_reboot
Date: Thu, 20 Feb 2025 11:19:40 +0800 [thread overview]
Message-ID: <53e93d6e-7b73-968b-c5f2-92d1b124ecd5@huawei.com> (raw)
In-Reply-To: <82BF5B2B-7508-47DB-9845-8A5F19E0D0E5@morinfr.org>
Hi,
在 2025/02/20 11:05, Guillaume Morin 写道:
> how it was guaranteed that mddev_get() would fail as mddev_free() does not check or synchronize with the active atomic
Please check how mddev is freed, start from mddev_put(). There might be
something wrong, but it's not what you said.
next prev parent reply other threads:[~2025-02-20 3:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-19 19:43 Guillaume Morin
2025-02-20 1:26 ` Yu Kuai
2025-02-20 3:05 ` Guillaume Morin
2025-02-20 3:19 ` Yu Kuai [this message]
2025-02-20 3:45 ` Guillaume Morin
2025-02-20 4:06 ` Yu Kuai
2025-02-20 11:55 ` Yu Kuai
2025-02-20 13:39 ` Guillaume Morin
2025-02-21 1:27 ` Yu Kuai
2025-02-21 15:19 ` Guillaume Morin
2025-02-22 1:08 ` Yu Kuai
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=53e93d6e-7b73-968b-c5f2-92d1b124ecd5@huawei.com \
--to=yukuai3@huawei.com \
--cc=guillaume@morinfr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=song@kernel.org \
--cc=yukuai1@huaweicloud.com \
/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®