Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs: zoned: btree inode writeback fixes
@ 2026-07-22 11:30 Johannes Thumshirn
  2026-07-22 11:30 ` [PATCH 1/4] btrfs: zoned: flush active metadata block group at btree_writepages() start Johannes Thumshirn
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Johannes Thumshirn @ 2026-07-22 11:30 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Naohiro Aota, Qu Wenruo, Filipe Manana, Johannes Thumshirn

Here's another attempt in fixing the problems with writeback of the
btree inode on zoned filesystems.

The symptoms we're seeing with it are:
- Hang on unmount because btree inode folios can't get written back
  on the final iput() because the block-groups are already gone.
- The recently added WARN() in invalidate_and_check_btree_folios()
  firing
- The ASSERT(btrfs_header_bytenr()) in btrfs_free_tree_block() firing.

Johannes Thumshirn (4):
  btrfs: zoned: flush active metadata block group at btree_writepages()
    start
  btrfs: zoned: drop stranded dirty metadata on transaction abort
  btrfs: zoned: drop stranded dirty metadata buffers at unmount
  btrfs: zoned: don't clobber the extent buffer when zeroing it out

 fs/btrfs/disk-io.c   |  21 ++++--
 fs/btrfs/extent_io.c | 166 +++++++++++++++++++++++++++++++++++++------
 fs/btrfs/extent_io.h |   1 +
 3 files changed, 159 insertions(+), 29 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-07-23 15:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22 11:30 [PATCH 0/4] btrfs: zoned: btree inode writeback fixes Johannes Thumshirn
2026-07-22 11:30 ` [PATCH 1/4] btrfs: zoned: flush active metadata block group at btree_writepages() start Johannes Thumshirn
2026-07-22 17:08   ` Boris Burkov
2026-07-22 19:01     ` Boris Burkov
2026-07-23 14:02       ` Johannes Thumshirn
2026-07-23 15:40         ` Boris Burkov
2026-07-22 11:30 ` [PATCH 2/4] btrfs: zoned: drop stranded dirty metadata on transaction abort Johannes Thumshirn
2026-07-22 11:30 ` [PATCH 3/4] btrfs: zoned: drop stranded dirty metadata buffers at unmount Johannes Thumshirn
2026-07-22 11:30 ` [PATCH 4/4] btrfs: zoned: don't clobber the extent buffer when zeroing it out Johannes Thumshirn

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