Re: [PATCH] Don't register if a non-bcache superblock is found as well

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Gabriel wrote:
>> This should fix it.
>>
>> Because the raid superblock is at the end of the device, bcache's
>> udev rules could detect a bcache device on the unassembled raid
>> member.  A better fix would be to merge probe-bcache into
>> util-linux's blkid.
>
> I'm afraid that doesn't work: with that patch, my backing device doesn't even get registered anymore, since blkid will detect it as XFS:

I just tried making an xfs filesystem on a bcache device,
and the xfs superblock isn't visible to the backing device.

Your problem is likely an old superblock; use wipefs before make-bcache.

If you do find a filesystem that doesn't put its blkid magic
at a fixed offset from the start of the device, we could
consider alternatives, like whitelisting them or porting to blkid.

For now, better safe than sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux