[GIT PULL 3/5] xfs: enable in-core block reservation for rt metadata

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

 



Hi Carlos,

Please pull this branch with changes for xfs.

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.

--D

The following changes since commit 2f63b20b7a26c9a7c76ea5a6565ca38cd9e31282:

xfs: support storing records in the inode core root (2024-12-23 13:06:03 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/reserve-rt-metadata-space_2024-12-23

for you to fetch changes up to 05290bd5c6236b8ad659157edb36bd2d38f46d3e:

xfs: allow inode-based btrees to reserve space in the data device (2024-12-23 13:06:03 -0800)

----------------------------------------------------------------
xfs: enable in-core block reservation for rt metadata [v6.2 03/14]

In preparation for adding reverse mapping and refcounting to the
realtime device, enhance the metadir code to reserve free space for
btree shape changes as delayed allocation blocks.

This enables us to pre-allocate space for the rmap and refcount btrees
in the same manner as we do for the data device counterparts, which is
how we avoid ENOSPC failures when space is low but we've already
committed to a COW operation.

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

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

----------------------------------------------------------------
Darrick J. Wong (2):
xfs: prepare to reuse the dquot pointer space in struct xfs_inode
xfs: allow inode-based btrees to reserve space in the data device

fs/xfs/libxfs/xfs_ag_resv.c  |   3 +
fs/xfs/libxfs/xfs_attr.c     |   4 +-
fs/xfs/libxfs/xfs_bmap.c     |   4 +-
fs/xfs/libxfs/xfs_errortag.h |   4 +-
fs/xfs/libxfs/xfs_metadir.c  |   4 +
fs/xfs/libxfs/xfs_metafile.c | 205 +++++++++++++++++++++++++++++++++++++++++++
fs/xfs/libxfs/xfs_metafile.h |  11 +++
fs/xfs/libxfs/xfs_types.h    |   7 ++
fs/xfs/scrub/tempfile.c      |   1 +
fs/xfs/xfs_dquot.h           |   3 +
fs/xfs/xfs_error.c           |   3 +
fs/xfs/xfs_exchrange.c       |   3 +
fs/xfs/xfs_fsops.c           |  17 ++++
fs/xfs/xfs_inode.h           |  16 +++-
fs/xfs/xfs_mount.c           |  10 +++
fs/xfs/xfs_mount.h           |   1 +
fs/xfs/xfs_qm.c              |   2 +
fs/xfs/xfs_quota.h           |   5 --
fs/xfs/xfs_rtalloc.c         |  21 +++++
fs/xfs/xfs_rtalloc.h         |   5 ++
fs/xfs/xfs_trace.h           |  45 ++++++++++
fs/xfs/xfs_trans.c           |   4 +
fs/xfs/xfs_trans_dquot.c     |   8 +-
23 files changed, 367 insertions(+), 19 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