[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <6278d2221001270410k1493582fvccdf23bed14cc0ff@mail.gmail.com>
Date: Wed, 27 Jan 2010 12:10:50 +0000
From: Daniel J Blueman <daniel.blueman@...il.com>
To: Linux BTRFS <linux-btrfs@...r.kernel.org>,
Linux Kernel <linux-kernel@...r.kernel.org>
Subject: file/extent checksums for dedup/sync...
For purposes of data deduplication and data synchronisation, it would
be a powerful tool to expose file data checksums.
Since eg BTRFS uses the crc32c algorithm [1], it's possible to compute
the file's overall CRC from the accumulation of the CRCs from all it's
extents' CRCs.
For now, exposing this via an IOCTL may be sufficient, though any
ideas for introducing it in a more standard way? (it's a pity that
when stat64 was introduced, reserved fields weren't added)
Thanks,
Daniel
[1] http://www.research.ibm.com/haifa/satran/ips/Vince-Luben-crc32c-01.pdf
--
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists