Re: [PATCH] fs: fix possible inconsistent mount device

From: Yu Kuai
Date: Sat Aug 13 2022 - 03:10:08 EST


Hi, Christoph!

在 2022/08/13 14:48, Christoph Hellwig 写道:
On Sat, Aug 13, 2022 at 02:08:48PM +0800, Yu Kuai wrote:
From: Yu Kuai <yukuai3@xxxxxxxxxx>

If device support rename, for example dm, following concurrent scenario
is possible:

The fix is easy: don't rename mounted block device, and even
bettersimply don't rename them at all, which is just causing huge
amounts of pain.

Thanks for your reply. Do you think it's better to remove the rename
support from dm? Or it's better to add such limit?

Best regards,
Kuai