mbox series

[0/2] Extent buffer allocation helpers cleanup

Message ID cover.1740558001.git.dsterba@suse.com (mailing list archive)
Headers show
Series Extent buffer allocation helpers cleanup | expand

Message

David Sterba Feb. 26, 2025, 8:22 a.m. UTC
There used to be a reason to have an eb allocation with arbitrary
nodesize due to selftests but this does not seem to be necessary
anymore.

David Sterba (2):
  btrfs: don't pass nodesize to __alloc_extent_buffer()
  btrfs: merge alloc_dummy_extent_buffer() helpers

 fs/btrfs/extent_io.c             | 26 +++++++++-----------------
 fs/btrfs/extent_io.h             |  2 --
 fs/btrfs/tests/extent-io-tests.c |  6 +++---
 3 files changed, 12 insertions(+), 22 deletions(-)

Comments

Johannes Thumshirn Feb. 26, 2025, 10:30 a.m. UTC | #1
Looks good to me,
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>