linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs NOCOW fix and cleanups
@ 2023-07-24 14:22 Christoph Hellwig
  2023-07-24 14:22 ` [PATCH 1/6] btrfs: fix error handling when in a COW window in run_delalloc_nocow Christoph Hellwig
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Christoph Hellwig @ 2023-07-24 14:22 UTC (permalink / raw)
  To: Chris Mason, Josef Bacik, David Sterba; +Cc: linux-btrfs

Hi all,

this series fixes a (found by code inspection) bug in the error handling
in btrfs_run_delalloc_nocow, and then cleans up a bunch of things in
btrfs_run_delalloc_nocow to allow me to actually undestand the logic
there, and in case of the last patch signigicantly simplifies it.

The series is on top of the for-next branch as that includes previous
work not in misc-next yet that the series relies on.

A git tree is also available here:

    git://git.infradead.org/users/hch/misc.git btrfs-nocow-cleanups

Gitweb:

    http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/btrfs-nocow-cleanups

Diffstat:
 inode.c        |  143 +++++++++++++++++----------------------------------------
 ordered-data.c |   24 ++++++++-
 2 files changed, 67 insertions(+), 100 deletions(-)

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

end of thread, other threads:[~2023-08-10 17:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-24 14:22 btrfs NOCOW fix and cleanups Christoph Hellwig
2023-07-24 14:22 ` [PATCH 1/6] btrfs: fix error handling when in a COW window in run_delalloc_nocow Christoph Hellwig
2023-07-24 14:22 ` [PATCH 2/6] btrfs: cleanup the COW fallback logic " Christoph Hellwig
2023-07-24 14:22 ` [PATCH 3/6] btrfs: consolidate the error handling " Christoph Hellwig
2023-07-24 18:27   ` Boris Burkov
2023-07-24 19:48     ` Christoph Hellwig
2023-07-25 21:36       ` David Sterba
2023-07-24 14:22 ` [PATCH 4/6] btrfs: move the !zoned assert into run_delalloc_cow Christoph Hellwig
2023-07-24 14:22 ` [PATCH 5/6] btrfs: use nocow_end for the loop iteration in run_delalloc_cow Christoph Hellwig
2023-08-10 17:00   ` David Sterba
2023-07-24 14:22 ` [PATCH 6/6] btrfs: clone relocation checksums in btrfs_alloc_ordered_extent Christoph Hellwig
2023-08-10 17:07   ` David Sterba
2023-07-24 18:30 ` btrfs NOCOW fix and cleanups Boris Burkov
2023-07-24 19:49   ` Christoph Hellwig
2023-07-24 19:58     ` Christoph Hellwig
2023-07-25 21:42       ` David Sterba
2023-07-26 12:56         ` Christoph Hellwig
2023-07-27 11:50           ` David Sterba
2023-08-10 16:56 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).