sftf
2008-Jan-06 22:30 UTC
[Btrfs-devel] Is crc32 adequate to detect real-life data corruption in filesystem's blocks?
What about multiple errors detection with crc32? Is it work? Thanks.
Chris Mason
2008-Jan-07 06:00 UTC
[Btrfs-devel] Is crc32 adequate to detect real-life data corruption in filesystem's blocks?
On Mon, 7 Jan 2008 12:29:46 +0600 sftf <sftf-misc@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