[PATCH v2 0/3] btrfs: async checksumming cleanups

From: Daniel Vacek

Date: Thu Sep 03 2026 - 02:31:40 EST


While trying to deal with encryption bounce bios async checksumming,
a solution came up which covers all writes (also the regular !encrypted
ones). As a result the code cleans up quite nicely.

In v2 the first patch was further polished and the new last patch promotes
async checksumming out of EXPERIMENTAL. Qu confirmed it was never meant to
stay there for long.

Details in the patches themselves.

v1: https://lore.kernel.org/linux-btrfs/20260902165137.3781696-1-neelx@xxxxxxxx/

Daniel Vacek (3):
btrfs: consume the given iter directly instead of copying in
csum_one_bio()
btrfs: use bio::remaining for async checksumming synchronization
btrfs: promote async checksumming out of EXPERIMENTAL

fs/btrfs/bio.c | 8 --------
fs/btrfs/bio.h | 4 ----
fs/btrfs/file-item.c | 21 +++++++++------------
3 files changed, 9 insertions(+), 24 deletions(-)

--
2.53.0