|
|
Log in / Subscribe / Register

btrfs: support xxhash64 checksums

From:  Johannes Thumshirn <jthumshirn-AT-suse.de>
To:  David Sterba <dsterba-AT-suse.com>
Subject:  [PATCH v5 0/4] btrfs: support xxhash64 checksums
Date:  Fri, 30 Aug 2019 13:36:07 +0200
Message-ID:  <20190830113611.16865-1-jthumshirn@suse.de>
Cc:  Linux BTRFS Mailinglist <linux-btrfs-AT-vger.kernel.org>, Johannes Thumshirn <jthumshirn-AT-suse.de>
Archive-link:  Article

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.

For changelogs, please see the individual patches.

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

Johannes Thumshirn (3):
  btrfs: turn checksum type define into a enum
  btrfs: create structure to encode checksum type and length
  btrfs: add xxhash64 to checksumming algorithms

 fs/btrfs/Kconfig                |  1 +
 fs/btrfs/ctree.c                | 23 +++++++++++++++++++++++
 fs/btrfs/ctree.h                | 20 ++------------------
 fs/btrfs/disk-io.c              |  1 +
 fs/btrfs/super.c                |  1 +
 fs/btrfs/sysfs.c                | 29 +++++++++++++++++++++++++++++
 include/uapi/linux/btrfs_tree.h |  5 ++++-
 7 files changed, 61 insertions(+), 19 deletions(-)

-- 
2.16.4



Copyright © 2019, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds