public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] btrfs: remove a couple BUG_ON()s and cleanups
@ 2023-06-30 15:03 fdmanana
  2023-06-30 15:03 ` [PATCH 1/8] btrfs: remove BUG_ON()'s in add_new_free_space() fdmanana
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: fdmanana @ 2023-06-30 15:03 UTC (permalink / raw)
  To: linux-btrfs

From: Filipe Manana <fdmanana@suse.com>

The first patch removes  a couple unnecessary BUG_ON()'s, since all
callers are able to properly deal with errors, which are triggered by
syzbot with error injection (-ENOMEM). The rest are just some followup
cleanups. More details in the changelogs.

Filipe Manana (8):
  btrfs: remove BUG_ON()'s in add_new_free_space()
  btrfs: update documentation for add_new_free_space()
  btrfs: rename add_new_free_space() to btrfs_add_new_free_space()
  btrfs: make btrfs_destroy_marked_extents() return void
  btrfs: make btrfs_destroy_pinned_extent() return void
  btrfs: make find_first_extent_bit() return a boolean
  btrfs: open code trivial btrfs_add_excluded_extent()
  btrfs: move btrfs_free_excluded_extents() into block-group.c

 fs/btrfs/block-group.c      | 91 +++++++++++++++++++++++++------------
 fs/btrfs/block-group.h      |  4 +-
 fs/btrfs/dev-replace.c      |  6 +--
 fs/btrfs/disk-io.c          | 31 ++++---------
 fs/btrfs/extent-io-tree.c   | 14 +++---
 fs/btrfs/extent-io-tree.h   |  6 +--
 fs/btrfs/extent-tree.c      | 26 +----------
 fs/btrfs/extent-tree.h      |  3 --
 fs/btrfs/free-space-cache.c |  7 ++-
 fs/btrfs/free-space-tree.c  | 27 ++++++++---
 fs/btrfs/relocation.c       | 10 ++--
 fs/btrfs/transaction.c      |  8 ++--
 fs/btrfs/volumes.c          |  6 +--
 13 files changed, 124 insertions(+), 115 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-07-12 16:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-30 15:03 [PATCH 0/8] btrfs: remove a couple BUG_ON()s and cleanups fdmanana
2023-06-30 15:03 ` [PATCH 1/8] btrfs: remove BUG_ON()'s in add_new_free_space() fdmanana
2023-06-30 15:03 ` [PATCH 2/8] btrfs: update documentation for add_new_free_space() fdmanana
2023-06-30 15:03 ` [PATCH 3/8] btrfs: rename add_new_free_space() to btrfs_add_new_free_space() fdmanana
2023-06-30 15:03 ` [PATCH 4/8] btrfs: make btrfs_destroy_marked_extents() return void fdmanana
2023-06-30 15:03 ` [PATCH 5/8] btrfs: make btrfs_destroy_pinned_extent() " fdmanana
2023-06-30 15:03 ` [PATCH 6/8] btrfs: make find_first_extent_bit() return a boolean fdmanana
2023-06-30 15:03 ` [PATCH 7/8] btrfs: open code trivial btrfs_add_excluded_extent() fdmanana
2023-06-30 15:03 ` [PATCH 8/8] btrfs: move btrfs_free_excluded_extents() into block-group.c fdmanana
     [not found]   ` <20230707221740.GH2565448@zen>
2023-07-10  9:56     ` Filipe Manana
2023-07-12 16:10       ` David Sterba
2023-07-12 16:04 ` [PATCH 0/8] btrfs: remove a couple BUG_ON()s and cleanups David Sterba

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