mbox series

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

Message ID 20240606-reloc-cleanups-v2-0-5172a6926f62@kernel.org (mailing list archive)
Headers show
Series btrfs: small cleanups for relocation code | expand

Message

Johannes Thumshirn June 6, 2024, 8:34 a.m. UTC
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@wdc.com>
---
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@kernel.org

---
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,