[Btrfs-devel] Is crc32 adequate to detect real-life data
corruption in filesystem's blocks?
Chris Mason
chris.mason at oracle.com
Mon Jan 7 05:59:49 PST 2008
On Mon, 7 Jan 2008 12:29:46 +0600
sftf <sftf-misc at mail.ru> wrote:
> What about multiple errors detection with crc32?
> Is it work?
This will depend on who you ask. Over the long term, btrfs will
support a number of stronger checksums for metadata and data.
There are 256 bits reserved in the metadata blocks, and the file data
checksums don't require a fixed size, so it will be possible to have
different sized checksums on different files.
In practice, 32 bit crcs are a good tradeoff between performance and
safety. Some people will surely want better, and we'll examine other
algorithms as the FS matures.
-chris
More information about the Btrfs-devel
mailing list