[PATCHSET v4.2 5/8] xfs: cleanups for the realtime allocator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This third series cleans up the realtime allocator code so that it'll be
somewhat less difficult to figure out what on earth it's doing.  We also
rearrange the fsmap code a bit.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=rtalloc-cleanups-6.12
---
Commits in this patchset:
 * xfs: clean up the ISVALID macro in xfs_bmap_adjacent
 * xfs: factor out a xfs_rtallocate helper
 * xfs: rework the rtalloc fallback handling
 * xfs: factor out a xfs_rtallocate_align helper
 * xfs: make the rtalloc start hint a xfs_rtblock_t
 * xfs: add xchk_setup_nothing and xchk_nothing helpers
 * xfs: remove xfs_{rtbitmap,rtsummary}_wordcount
 * xfs: replace m_rsumsize with m_rsumblocks
 * xfs: rearrange xfs_fsmap.c a little bit
 * xfs: move xfs_ioc_getfsmap out of xfs_ioctl.c
---
 fs/xfs/libxfs/xfs_bmap.c        |   55 +++--
 fs/xfs/libxfs/xfs_rtbitmap.c    |   33 ---
 fs/xfs/libxfs/xfs_rtbitmap.h    |    7 -
 fs/xfs/libxfs/xfs_trans_resv.c  |    2 
 fs/xfs/scrub/common.h           |   29 +--
 fs/xfs/scrub/rtsummary.c        |   11 -
 fs/xfs/scrub/rtsummary.h        |    2 
 fs/xfs/scrub/rtsummary_repair.c |   12 -
 fs/xfs/scrub/scrub.h            |   29 +--
 fs/xfs/xfs_fsmap.c              |  402 ++++++++++++++++++++++++++-------------
 fs/xfs/xfs_fsmap.h              |    6 -
 fs/xfs/xfs_ioctl.c              |  130 -------------
 fs/xfs/xfs_mount.h              |    2 
 fs/xfs/xfs_rtalloc.c            |  246 ++++++++++++++----------
 14 files changed, 477 insertions(+), 489 deletions(-)





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux