Re: [PATCH] btrfs: do not skip re-registration for the mounted device

David Sterba
2024-02-12T15:00:05Z

On Mon, Feb 05, 2024 at 07:45:05PM +0800, Anand Jain wrote:
> We skip device registration for a single device. However, we do not do
> that if the device is already mounted, as it might be coming in again
> for scanning a different path.
>
> This patch is lightly tested; for verification if it fixes.
>
> Signed-off-by: Anand Jain <anand.jain@oracle.com>
> ---
> I still have some unknowns about the problem. Pls test if this fixes
> the problem.

Seems that we have that tested by some reportes, I checked it in my VM
setup that it works (fstests and grub2-probe) so let's add it to
for-next. Please use the changelog from my patch that describes the
problem and then add description of how you fixed it. Thanks.