[GIT PULL 03/10] xfsprogs: bmap log intent cleanups

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

 



Hi Carlos,

Please pull this branch with changes for xfsprogs for 6.6-rc1.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.

The following changes since commit a5974a2d10bdbfbfff9a870b832f2ca2b711ec14:

xfs: allow sunit mount option to repair bad primary sb stripe values (2024-06-03 11:37:41 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/bmap-intent-cleanups-6.9_2024-06-03

for you to fetch changes up to 5ac16998a64422509f3123304891aae905e1ff04:

libxfs: add a xattr_entry helper (2024-06-03 11:37:41 -0700)

----------------------------------------------------------------
xfsprogs: bmap log intent cleanups [v30.5 03/35]

The next major target of online repair are metadata that are persisted
in blocks mapped by a file fork.  In other words, we want to repair
directories, extended attributes, symbolic links, and the realtime free
space information.  For file-based metadata, we assume that the space
metadata is correct, which enables repair to construct new versions of
the metadata in a temporary file.  We then need to swap the file fork
mappings of the two files atomically.  With this patchset, we begin
constructing such a facility based on the existing bmap log items and a
new extent swap log item.

This series cleans up a few parts of the file block mapping log intent
code before we start adding support for realtime bmap intents.  Most of
it involves cleaning up tracepoints so that more of the data extraction
logic ends up in the tracepoint code and not the tracepoint call site,
which should reduce overhead further when tracepoints are disabled.
There is also a change to pass bmap intents all the way back to the bmap
code instead of unboxing the intent values and re-boxing them after the
_finish_one function completes.

This has been running on the djcloud for months with no problems.  Enjoy!

Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>

----------------------------------------------------------------
Darrick J. Wong (4):
libxfs: remove kmem_alloc, kmem_zalloc, and kmem_free
libxfs: add a bi_entry helper
libxfs: reuse xfs_bmap_update_cancel_item
libxfs: add a xattr_entry helper

db/bmap_inflate.c         |  2 +-
include/kmem.h            | 10 +-------
libxfs/defer_item.c       | 58 +++++++++++++++++++++++++----------------------
libxfs/init.c             |  2 +-
libxfs/kmem.c             | 32 ++++++++------------------
libxlog/xfs_log_recover.c | 19 ++++++++--------
repair/bmap_repair.c      |  4 ++--
7 files changed, 55 insertions(+), 72 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