ext4: switch to using the crc32c library
authorEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:08:41 +0000 (17:08 -0800)
committerEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:23:02 +0000 (17:23 -0800)
commitf2b4fa19647e18a2e2aade7e3e4620567e7e594a
treec752627e5abd7c2dc8675c4445c3defdff253556
parent38a9a5121c3bcf2ed857430a92e493568b247c35
ext4: switch to using the crc32c library

Now that the crc32c() library function directly takes advantage of
architecture-specific optimizations, it is unnecessary to go through the
crypto API.  Just use crc32c().  This is much simpler, and it improves
performance due to eliminating the crypto API overhead.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20241202010844.144356-17-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/ext4/Kconfig
fs/ext4/ext4.h
fs/ext4/super.c