[PATCH v2 0/6] btrfs: small cleanups for relocation code

From: Johannes Thumshirn
Date: Thu Jun 06 2024 - 04:35:22 EST


Here is a small series of cleanups I came across when debugging
relocation related problems on RAID stripe tree.

None of them imposes a functional change.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@xxxxxxx>
---
Changes in v2:
- Collected reviews
- Added two more cases I came across
- Link to v1: https://lore.kernel.org/r/20240605-reloc-cleanups-v1-0-9e4a4c47e067@xxxxxxxxxx

---
Johannes Thumshirn (6):
btrfs: pass reloc_control to relocate_data_extent
btrfs: pass a reloc_control to relocate_file_extent_cluster
btrfs: pass a reloc_control to relocate_one_folio
btrfs: don't pass fs_info to describe_relocation
btrfs: pass a struct reloc_control to prealloc_file_extent_cluster
btrfs: pass reloc_control to setup_relocation_extent_mapping

fs/btrfs/relocation.c | 66 ++++++++++++++++++++++++++-------------------------
1 file changed, 34 insertions(+), 32 deletions(-)
---
base-commit: d18729a15cd2ca4b71ac14727c33b7da87359b70
change-id: 20240605-reloc-cleanups-16ddf3d364b0

Best regards,
--
Johannes Thumshirn <jth@xxxxxxxxxx>