mbox series

[RFC,0/4] Support xxhash64 checksums

Message ID cover.1564046812.git.jthumshirn@suse.de (mailing list archive)
Headers show
Series Support xxhash64 checksums | expand

Message

Johannes Thumshirn July 25, 2019, 9:33 a.m. UTC
Now that Nikolay's XXHASH64 support for the Crypto API has landed and BTRFS is
prepared for an easy addition of new checksums, this patchset implements
XXHASH64 as a second, fast but not cryptographically secure checksum hash.

This still is in RFC state (especially the btrfs-progs side).

David Sterba (1):
  btrfs: sysfs: export supported checksums

Johannes Thumshirn (3):
  btrfs: turn checksum type define into a union
  btrfs: create structure to encode checksum type and length
  btrfs: use xxhash64 for checksumming

 fs/btrfs/Kconfig                |  1 +
 fs/btrfs/ctree.h                | 17 ++++++++++++-----
 fs/btrfs/disk-io.c              |  1 +
 fs/btrfs/super.c                |  1 +
 fs/btrfs/sysfs.c                | 35 +++++++++++++++++++++++++++++++++++
 include/uapi/linux/btrfs_tree.h |  5 ++++-
 6 files changed, 54 insertions(+), 6 deletions(-)