Skip to content

xfs: widen BUI formats to support realtime

Darrick J. Wong fstests linux-api linux-fsdevel linux-xfs 1 version New

Get series with b4
b4 am 167243842459.699102.4471319762222972730.stgit@magnolia

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xfs: fix xfs_bunmapi to allow unmapping of partial rt extentsfs/xfs/libxfs/xfs_bmap.c+11 -100 replies
2/4xfs: hoist freeing of rt data fork extent mappingsfs/xfs/libxfs/xfs_bmap.c fs/xfs/libxfs/xfs_rtbitmap.c fs/xfs/xfs_rtalloc.h+41 -180 replies
3/4xfs: add a realtime flag to the bmap update log redo itemsfs/xfs/libxfs/xfs_log_format.h fs/xfs/xfs_bmap_item.c fs/xfs/xfs_trace.h+23 -60 replies
4/4xfs: support recovering bmap intent items targetting realtime extentsfs/xfs/xfs_bmap_item.c+16 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET v24.0 0/4] xfs: widen BUI formats to support realtime

Hi all,

Atomic extent swapping (and later, reverse mapping and reflink) on the realtime device needs to be able to defer file mapping and extent freeing work in much the same manner as is required on the data volume. Make the BUI log items operate on rt extents in preparation for atomic swapping and realtime rmap.

If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything. Enjoy! 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=realtime-bmap-intents

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=realtime-bmap-intents

---
 fs/xfs/libxfs/xfs_bmap.c       |   24 +++++-------------------
 fs/xfs/libxfs/xfs_log_format.h |    4 +++-
 fs/xfs/libxfs/xfs_rtbitmap.c   |   33 +++++++++++++++++++++++++++++++++
 fs/xfs/xfs_bmap_item.c         |   17 +++++++++++++++++
 fs/xfs/xfs_rtalloc.h           |    5 +++++
 fs/xfs/xfs_trace.h             |   23 ++++++++++++++++++-----
 6 files changed, 81 insertions(+), 25 deletions(-)