mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] btrfs: async checksumming cleanups
@ 2026-09-03  6:23 Daniel Vacek
  2026-09-03  6:23 ` [PATCH v2 1/3] btrfs: consume the given iter directly instead of copying in csum_one_bio() Daniel Vacek
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Daniel Vacek @ 2026-09-03  6:23 UTC (permalink / raw)
  To: David Sterba, Chris Mason
  Cc: Daniel Vacek, linux-btrfs, linux-kernel, Qu Wenruo

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@suse.com/

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-09-04 22:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03  6:23 [PATCH v2 0/3] btrfs: async checksumming cleanups Daniel Vacek
2026-09-03  6:23 ` [PATCH v2 1/3] btrfs: consume the given iter directly instead of copying in csum_one_bio() Daniel Vacek
2026-09-03  6:45   ` Qu Wenruo
2026-09-03  6:23 ` [PATCH v2 2/3] btrfs: use bio::remaining for async checksumming synchronization Daniel Vacek
2026-09-04 22:41   ` Qu Wenruo
2026-09-04 22:50     ` Qu Wenruo
2026-09-03  6:23 ` [PATCH v2 3/3] btrfs: promote async checksumming out of EXPERIMENTAL Daniel Vacek
2026-09-03  6:33   ` Qu Wenruo
2026-09-03  6:41     ` Daniel Vacek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®