Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/6] Debugging macro and kmalloc_obj* cleanups
@ 2026-04-14 15:30 David Sterba
  2026-04-14 15:30 ` [PATCH 1/6] btrfs: move condition to WARN_ON in btrfs_set_delalloc_extent() David Sterba
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: David Sterba @ 2026-04-14 15:30 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Replace some macros with existing or new API. Replacing ASSERT(0) in
free space tree updates error handling but it's for "impossible"
conditions.

David Sterba (6):
  btrfs: move condition to WARN_ON in btrfs_set_delalloc_extent()
  btrfs: replace open coded DEBUG_WARN in extent_writepage()
  btrfs: handle unexpected free-space-tree key types
  btrfs: lift assertions to beginning of insert_delayed_ref()
  btrfs: do more kmalloc_obj()/kmalloc_objs() conversions
  btrfs: convert kmalloc_array to kmalloc_objs in
    btrfs_calc_avail_data_space()

 fs/btrfs/delayed-ref.c     |  5 ++++-
 fs/btrfs/extent_io.c       |  2 +-
 fs/btrfs/free-space-tree.c | 18 +++++++++++++++---
 fs/btrfs/inode.c           |  3 +--
 fs/btrfs/relocation.c      | 10 +++++-----
 fs/btrfs/super.c           |  3 +--
 6 files changed, 27 insertions(+), 14 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-04-14 15:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-14 15:30 [PATCH 0/6] Debugging macro and kmalloc_obj* cleanups David Sterba
2026-04-14 15:30 ` [PATCH 1/6] btrfs: move condition to WARN_ON in btrfs_set_delalloc_extent() David Sterba
2026-04-14 15:30 ` [PATCH 2/6] btrfs: replace open coded DEBUG_WARN in extent_writepage() David Sterba
2026-04-14 15:30 ` [PATCH 3/6] btrfs: handle unexpected free-space-tree key types David Sterba
2026-04-14 15:30 ` [PATCH 4/6] btrfs: lift assertions to beginning of insert_delayed_ref() David Sterba
2026-04-14 15:30 ` [PATCH 5/6] btrfs: do more kmalloc_obj()/kmalloc_objs() conversions David Sterba
2026-04-14 15:30 ` [PATCH 6/6] btrfs: convert kmalloc_array to kmalloc_objs in btrfs_calc_avail_data_space() David Sterba
2026-04-14 15:52 ` [PATCH 0/6] Debugging macro and kmalloc_obj* cleanups Johannes Thumshirn

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