[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ad286d5c-fd60-682f-bd89-710a79a710a0@huaweicloud.com>
Date: Thu, 20 Feb 2025 09:26:20 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: Guillaume Morin <guillaume@...infr.org>, linux-raid@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, song@...nel.org,
"yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [BUG] possible race between md_free_disk and md_notify_reboot
Hi
在 2025/02/20 3:43, Guillaume Morin 写道:
> There seems to be nothing in the code that tries to prevent this
> specific race
Did you noticed that mddev_get() is called from md_notify_reboot() while
the lock is still held, and how can mddev_free() can race here if
mddev_get() succeed?
Thanks,
Kuai
Powered by blists - more mailing lists