Linux XFS filesystem development
 help / color / mirror / Atom feed
From: "Darrick J. Wong" <djwong@kernel.org>
To: djwong@kernel.org
Cc: linux-xfs@vger.kernel.org
Subject: [PATCH 43/44] xfs: fix CoW forks for realtime files
Date: Sun, 31 Dec 2023 13:55:46 -0800	[thread overview]
Message-ID: <170404852271.1766284.5224402997263588022.stgit@frogsfrogsfrogs> (raw)
In-Reply-To: <170404851479.1766284.4860754291017677928.stgit@frogsfrogsfrogs>

From: Darrick J. Wong <djwong@kernel.org>

Port the copy on write fork repair to realtime files.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
 fs/xfs/scrub/cow_repair.c |  210 +++++++++++++++++++++++++++++++++++++++----
 fs/xfs/scrub/reap.c       |  222 +++++++++++++++++++++++++++++++++++++++++++++
 fs/xfs/scrub/reap.h       |    7 +
 fs/xfs/scrub/repair.h     |    1 
 fs/xfs/scrub/rtb_bitmap.h |   37 ++++++++
 fs/xfs/scrub/trace.h      |   72 +++++++++++++++
 6 files changed, 532 insertions(+), 17 deletions(-)
 create mode 100644 fs/xfs/scrub/rtb_bitmap.h


diff --git a/fs/xfs/scrub/cow_repair.c b/fs/xfs/scrub/cow_repair.c
index e48d869986f34..4be05fd8d0490 100644
--- a/fs/xfs/scrub/cow_repair.c
+++ b/fs/xfs/scrub/cow_repair.c
@@ -26,6 +26,9 @@
 #include "xfs_errortag.h"
 #include "xfs_icache.h"
 #include "xfs_refcount_btree.h"
+#include "xfs_rtalloc.h"
+#include "xfs_rtbitmap.h"
+#include "xfs_rtgroup.h"
 #include "scrub/xfs_scrub.h"
 #include "scrub/scrub.h"
 #include "scrub/common.h"
@@ -34,6 +37,7 @@
 #include "scrub/bitmap.h"
 #include "scrub/off_bitmap.h"
 #include "scrub/fsb_bitmap.h"
+#include "scrub/rtb_bitmap.h"
 #include "scrub/reap.h"
 
 /*
@@ -61,7 +65,10 @@ struct xrep_cow {
 	struct xoff_bitmap	bad_fileoffs;
 
 	/* Bitmap of fsblocks that were removed from the CoW fork. */
-	struct xfsb_bitmap	old_cowfork_fsblocks;
+	union {
+		struct xfsb_bitmap	old_cowfork_fsblocks;
+		struct xrtb_bitmap	old_cowfork_rtblocks;
+	};
 
 	/* CoW fork mappings used to scan for bad CoW staging extents. */
 	struct xfs_bmbt_irec	irec;
@@ -145,8 +152,12 @@ xrep_cow_mark_shared_staging(
 
 	xrep_cow_trim_refcount(xc, &rrec, rec);
 
-	fsbno = XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno,
-			rrec.rc_startblock);
+	if (XFS_IS_REALTIME_INODE(xc->sc->ip))
+		fsbno = xfs_rgbno_to_rtb(xc->sc->mp, cur->bc_ino.rtg->rtg_rgno,
+				rrec.rc_startblock);
+	else
+		fsbno = XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno,
+				rrec.rc_startblock);
 	return xrep_cow_mark_file_range(xc, fsbno, rrec.rc_blockcount);
 }
 
@@ -166,6 +177,7 @@ xrep_cow_mark_missing_staging(
 {
 	struct xrep_cow			*xc = priv;
 	struct xfs_refcount_irec	rrec;
+	xfs_fsblock_t			fsbno;
 	int				error;
 
 	if (!xfs_refcount_check_domain(rec) ||
@@ -177,9 +189,13 @@ xrep_cow_mark_missing_staging(
 	if (xc->next_bno >= rrec.rc_startblock)
 		goto next;
 
-	error = xrep_cow_mark_file_range(xc,
-			XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno,
-				       xc->next_bno),
+	if (XFS_IS_REALTIME_INODE(xc->sc->ip))
+		fsbno = xfs_rgbno_to_rtb(xc->sc->mp, cur->bc_ino.rtg->rtg_rgno,
+				xc->next_bno);
+	else
+		fsbno = XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno,
+				xc->next_bno);
+	error = xrep_cow_mark_file_range(xc, fsbno,
 			rrec.rc_startblock - xc->next_bno);
 	if (error)
 		return error;
@@ -222,7 +238,12 @@ xrep_cow_mark_missing_staging_rmap(
 		rec_len -= adj;
 	}
 
-	fsbno = XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno, rec_bno);
+	if (XFS_IS_REALTIME_INODE(xc->sc->ip))
+		fsbno = xfs_rgbno_to_rtb(xc->sc->mp, cur->bc_ino.rtg->rtg_rgno,
+				rec_bno);
+	else
+		fsbno = XFS_AGB_TO_FSB(xc->sc->mp, cur->bc_ag.pag->pag_agno,
+				rec_bno);
 	return xrep_cow_mark_file_range(xc, fsbno, rec_len);
 }
 
@@ -311,6 +332,97 @@ xrep_cow_find_bad(
 	return 0;
 }
 
+/*
+ * Find any part of the CoW fork mapping that isn't a single-owner CoW staging
+ * extent and mark the corresponding part of the file range in the bitmap.
+ */
+STATIC int
+xrep_cow_find_bad_rt(
+	struct xrep_cow			*xc)
+{
+	struct xfs_refcount_irec	rc_low = { 0 };
+	struct xfs_refcount_irec	rc_high = { 0 };
+	struct xfs_rmap_irec		rm_low = { 0 };
+	struct xfs_rmap_irec		rm_high = { 0 };
+	struct xfs_scrub		*sc = xc->sc;
+	struct xfs_rtgroup		*rtg;
+	xfs_rgnumber_t			rgno;
+	int				error = 0;
+
+	xc->irec_startbno = xfs_rtb_to_rgbno(sc->mp, xc->irec.br_startblock,
+						&rgno);
+
+	rtg = xfs_rtgroup_get(sc->mp, rgno);
+	if (!rtg)
+		return -EFSCORRUPTED;
+
+	if (xrep_is_rtmeta_ino(sc, rtg, sc->ip->i_ino))
+		goto out_rtg;
+
+	error = xrep_rtgroup_init(sc, rtg, &sc->sr,
+			XFS_RTGLOCK_RMAP | XFS_RTGLOCK_REFCOUNT);
+	if (error)
+		goto out_rtg;
+
+	/* Mark any CoW fork extents that are shared. */
+	rc_low.rc_startblock = xc->irec_startbno;
+	rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1;
+	rc_low.rc_domain = rc_high.rc_domain = XFS_REFC_DOMAIN_SHARED;
+	error = xfs_refcount_query_range(sc->sr.refc_cur, &rc_low, &rc_high,
+			xrep_cow_mark_shared_staging, xc);
+	if (error)
+		goto out_sr;
+
+	/* Make sure there are CoW staging extents for the whole mapping. */
+	rc_low.rc_startblock = xc->irec_startbno;
+	rc_high.rc_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1;
+	rc_low.rc_domain = rc_high.rc_domain = XFS_REFC_DOMAIN_COW;
+	xc->next_bno = xc->irec_startbno;
+	error = xfs_refcount_query_range(sc->sr.refc_cur, &rc_low, &rc_high,
+			xrep_cow_mark_missing_staging, xc);
+	if (error)
+		goto out_sr;
+
+	if (xc->next_bno < xc->irec_startbno + xc->irec.br_blockcount) {
+		error = xrep_cow_mark_file_range(xc,
+				xfs_rgbno_to_rtb(sc->mp, rtg->rtg_rgno,
+						 xc->next_bno),
+				xc->irec_startbno + xc->irec.br_blockcount -
+				xc->next_bno);
+		if (error)
+			goto out_sr;
+	}
+
+	/* Mark any area has an rmap that isn't a COW staging extent. */
+	rm_low.rm_startblock = xc->irec_startbno;
+	memset(&rm_high, 0xFF, sizeof(rm_high));
+	rm_high.rm_startblock = xc->irec_startbno + xc->irec.br_blockcount - 1;
+	error = xfs_rmap_query_range(sc->sr.rmap_cur, &rm_low, &rm_high,
+			xrep_cow_mark_missing_staging_rmap, xc);
+	if (error)
+		goto out_sr;
+
+	/*
+	 * If userspace is forcing us to rebuild the CoW fork or someone
+	 * turned on the debugging knob, replace everything in the
+	 * CoW fork and then scan for staging extents in the refcountbt.
+	 */
+	if ((sc->sm->sm_flags & XFS_SCRUB_IFLAG_FORCE_REBUILD) ||
+	    XFS_TEST_ERROR(false, sc->mp, XFS_ERRTAG_FORCE_SCRUB_REPAIR)) {
+		error = xrep_cow_mark_file_range(xc, xc->irec.br_startblock,
+				xc->irec.br_blockcount);
+		if (error)
+			goto out_rtg;
+	}
+
+out_sr:
+	xchk_rtgroup_btcur_free(&sc->sr);
+	xchk_rtgroup_free(sc, &sc->sr);
+out_rtg:
+	xfs_rtgroup_put(rtg);
+	return error;
+}
+
 /*
  * Allocate a replacement CoW staging extent of up to the given number of
  * blocks, and fill out the mapping.
@@ -351,6 +463,46 @@ xrep_cow_alloc(
 	return 0;
 }
 
+/*
+ * Allocate a replacement rt CoW staging extent of up to the given number of
+ * blocks, and fill out the mapping.
+ */
+STATIC int
+xrep_cow_alloc_rt(
+	struct xfs_scrub	*sc,
+	xfs_extlen_t		maxlen,
+	struct xrep_cow_extent	*repl)
+{
+	xfs_rtxnum_t		rtx = NULLRTEXTNO;
+	xfs_rtxlen_t		maxrtx;
+	xfs_rtxlen_t		rtxlen = 0;
+	xfs_rtblock_t		rtbno;
+	xfs_extlen_t		len;
+	int			error;
+
+	maxrtx = xfs_rtb_to_rtx(sc->mp, maxlen);
+	error = xfs_trans_reserve_more(sc->tp, 0, maxrtx);
+	if (error)
+		return error;
+
+	xfs_rtbitmap_lock(sc->tp, sc->mp);
+
+	error = xfs_rtallocate_extent(sc->tp, 0, 1, maxrtx, &rtxlen, 0, 1,
+			&rtx);
+	if (error)
+		return error;
+	if (rtx == NULLRTEXTNO)
+		return -ENOSPC;
+
+	rtbno = xfs_rtx_to_rtb(sc->mp, rtx);
+	len = xfs_rtxlen_to_extlen(sc->mp, rtxlen);
+	xfs_refcount_alloc_cow_extent(sc->tp, true, rtbno, len);
+
+	repl->fsbno = rtbno;
+	repl->len = len;
+	return 0;
+}
+
 /*
  * Look up the current CoW fork mapping so that we only allocate enough to
  * replace a single mapping.  If we don't find a mapping that covers the start
@@ -468,7 +620,10 @@ xrep_cow_replace_range(
 	 */
 	alloc_len = min_t(xfs_fileoff_t, XFS_MAX_BMBT_EXTLEN,
 			  nextoff - startoff);
-	error = xrep_cow_alloc(sc, alloc_len, &repl);
+	if (XFS_IS_REALTIME_INODE(sc->ip))
+		error = xrep_cow_alloc_rt(sc, alloc_len, &repl);
+	else
+		error = xrep_cow_alloc(sc, alloc_len, &repl);
 	if (error)
 		return error;
 
@@ -484,8 +639,12 @@ xrep_cow_replace_range(
 		return error;
 
 	/* Note the old CoW staging extents; we'll reap them all later. */
-	error = xfsb_bitmap_set(&xc->old_cowfork_fsblocks, got.br_startblock,
-			repl.len);
+	if (XFS_IS_REALTIME_INODE(sc->ip))
+		error = xrtb_bitmap_set(&xc->old_cowfork_rtblocks,
+				got.br_startblock, repl.len);
+	else
+		error = xfsb_bitmap_set(&xc->old_cowfork_fsblocks,
+				got.br_startblock, repl.len);
 	if (error)
 		return error;
 
@@ -541,8 +700,12 @@ xrep_bmap_cow(
 	if (!ifp)
 		return 0;
 
-	/* realtime files aren't supported yet */
-	if (XFS_IS_REALTIME_INODE(sc->ip))
+	/*
+	 * Realtime files with large extent sizes are not supported because
+	 * we could encounter an CoW mapping that has been partially written
+	 * out *and* requires replacement, and there's no solution to that.
+	 */
+	if (xfs_inode_has_bigallocunit(sc->ip))
 		return -EOPNOTSUPP;
 
 	/*
@@ -563,7 +726,10 @@ xrep_bmap_cow(
 
 	xc->sc = sc;
 	xoff_bitmap_init(&xc->bad_fileoffs);
-	xfsb_bitmap_init(&xc->old_cowfork_fsblocks);
+	if (XFS_IS_REALTIME_INODE(sc->ip))
+		xrtb_bitmap_init(&xc->old_cowfork_rtblocks);
+	else
+		xfsb_bitmap_init(&xc->old_cowfork_fsblocks);
 
 	for_each_xfs_iext(ifp, &icur, &xc->irec) {
 		if (xchk_should_terminate(sc, &error))
@@ -586,7 +752,10 @@ xrep_bmap_cow(
 		if (xfs_bmap_is_written_extent(&xc->irec))
 			continue;
 
-		error = xrep_cow_find_bad(xc);
+		if (XFS_IS_REALTIME_INODE(sc->ip))
+			error = xrep_cow_find_bad_rt(xc);
+		else
+			error = xrep_cow_find_bad(xc);
 		if (error)
 			goto out_bitmap;
 	}
@@ -601,13 +770,20 @@ xrep_bmap_cow(
 	 * by the refcount btree, not the inode, so it is correct to treat them
 	 * like inode metadata.
 	 */
-	error = xrep_reap_fsblocks(sc, &xc->old_cowfork_fsblocks,
-			&XFS_RMAP_OINFO_COW);
+	if (XFS_IS_REALTIME_INODE(sc->ip))
+		error = xrep_reap_rtblocks(sc, &xc->old_cowfork_rtblocks,
+				&XFS_RMAP_OINFO_COW);
+	else
+		error = xrep_reap_fsblocks(sc, &xc->old_cowfork_fsblocks,
+				&XFS_RMAP_OINFO_COW);
 	if (error)
 		goto out_bitmap;
 
 out_bitmap:
-	xfsb_bitmap_destroy(&xc->old_cowfork_fsblocks);
+	if (XFS_IS_REALTIME_INODE(sc->ip))
+		xrtb_bitmap_destroy(&xc->old_cowfork_rtblocks);
+	else
+		xfsb_bitmap_destroy(&xc->old_cowfork_fsblocks);
 	xoff_bitmap_destroy(&xc->bad_fileoffs);
 	kmem_free(xc);
 	return error;
diff --git a/fs/xfs/scrub/reap.c b/fs/xfs/scrub/reap.c
index bb28c2d2b8780..b8166e19726a4 100644
--- a/fs/xfs/scrub/reap.c
+++ b/fs/xfs/scrub/reap.c
@@ -34,6 +34,8 @@
 #include "xfs_attr_remote.h"
 #include "xfs_defer.h"
 #include "xfs_imeta.h"
+#include "xfs_rtgroup.h"
+#include "xfs_rtrmap_btree.h"
 #include "scrub/scrub.h"
 #include "scrub/common.h"
 #include "scrub/trace.h"
@@ -41,6 +43,7 @@
 #include "scrub/bitmap.h"
 #include "scrub/agb_bitmap.h"
 #include "scrub/fsb_bitmap.h"
+#include "scrub/rtb_bitmap.h"
 #include "scrub/reap.h"
 
 /*
@@ -680,6 +683,225 @@ xrep_reap_fsblocks(
 	return 0;
 }
 
+#ifdef CONFIG_XFS_RT
+/*
+ * Figure out the longest run of blocks that we can dispose of with a single
+ * call.  Cross-linked blocks should have their reverse mappings removed, but
+ * single-owner extents can be freed.  Units are rt blocks, not rt extents.
+ */
+STATIC int
+xreap_rgextent_select(
+	struct xreap_state	*rs,
+	xfs_rgblock_t		rgbno,
+	xfs_rgblock_t		rgbno_next,
+	bool			*crosslinked,
+	xfs_extlen_t		*rglenp)
+{
+	struct xfs_scrub	*sc = rs->sc;
+	struct xfs_btree_cur	*cur;
+	xfs_rgblock_t		bno = rgbno + 1;
+	xfs_extlen_t		len = 1;
+	int			error;
+
+	/*
+	 * Determine if there are any other rmap records covering the first
+	 * block of this extent.  If so, the block is crosslinked.
+	 */
+	cur = xfs_rtrmapbt_init_cursor(sc->mp, sc->tp, sc->sr.rtg,
+			sc->sr.rtg->rtg_rmapip);
+	error = xfs_rmap_has_other_keys(cur, rgbno, 1, rs->oinfo,
+			crosslinked);
+	if (error)
+		goto out_cur;
+
+	/*
+	 * Figure out how many of the subsequent blocks have the same crosslink
+	 * status.
+	 */
+	while (bno < rgbno_next) {
+		bool		also_crosslinked;
+
+		error = xfs_rmap_has_other_keys(cur, bno, 1, rs->oinfo,
+				&also_crosslinked);
+		if (error)
+			goto out_cur;
+
+		if (*crosslinked != also_crosslinked)
+			break;
+
+		len++;
+		bno++;
+	}
+
+	*rglenp = len;
+	trace_xreap_rgextent_select(sc->sr.rtg, rgbno, len, *crosslinked);
+out_cur:
+	xfs_btree_del_cursor(cur, error);
+	return error;
+}
+
+/*
+ * Dispose of as much of the beginning of this rtgroup extent as possible.
+ * The number of blocks disposed of will be returned in @rglenp.
+ */
+STATIC int
+xreap_rgextent_iter(
+	struct xreap_state	*rs,
+	xfs_rgblock_t		rgbno,
+	xfs_extlen_t		*rglenp,
+	bool			crosslinked)
+{
+	struct xfs_scrub	*sc = rs->sc;
+	xfs_rtblock_t		rtbno;
+	int			error;
+
+	/*
+	 * The only caller so far is CoW fork repair, so we only know how to
+	 * unlink or free CoW staging extents.  Here we don't have to worry
+	 * about invalidating buffers!
+	 */
+	if (rs->oinfo != &XFS_RMAP_OINFO_COW) {
+		ASSERT(rs->oinfo == &XFS_RMAP_OINFO_COW);
+		return -EFSCORRUPTED;
+	}
+	ASSERT(rs->resv == XFS_AG_RESV_NONE);
+
+	rtbno = xfs_rgbno_to_rtb(sc->mp, sc->sr.rtg->rtg_rgno, rgbno);
+
+	/*
+	 * If there are other rmappings, this block is cross linked and must
+	 * not be freed.  Remove the forward and reverse mapping and move on.
+	 */
+	if (crosslinked) {
+		trace_xreap_dispose_unmap_rtextent(sc->sr.rtg, rgbno, *rglenp);
+
+		xfs_refcount_free_cow_extent(sc->tp, true, rtbno, *rglenp);
+		rs->deferred++;
+		return 0;
+	}
+
+	trace_xreap_dispose_free_rtextent(sc->sr.rtg, rgbno, *rglenp);
+
+	/*
+	 * The CoW staging extent is not crosslinked.  Use deferred work items
+	 * to remove the refcountbt records (which removes the rmap records)
+	 * and free the extent.  We're not worried about the system going down
+	 * here because log recovery walks the refcount btree to clean out the
+	 * CoW staging extents.
+	 */
+	xfs_refcount_free_cow_extent(sc->tp, true, rtbno, *rglenp);
+	error = xfs_free_extent_later(sc->tp, rtbno, *rglenp, NULL,
+			rs->resv,
+			XFS_FREE_EXTENT_REALTIME |
+			XFS_FREE_EXTENT_SKIP_DISCARD);
+	if (error)
+		return error;
+
+	rs->deferred++;
+	return 0;
+}
+
+#define XREAP_RTGLOCK_ALL	(XFS_RTGLOCK_BITMAP | \
+				 XFS_RTGLOCK_RMAP | \
+				 XFS_RTGLOCK_REFCOUNT)
+
+/*
+ * Break a rt file metadata extent into sub-extents by fate (crosslinked, not
+ * crosslinked), and dispose of each sub-extent separately.  The extent must
+ * be aligned to a realtime extent.
+ */
+STATIC int
+xreap_rtmeta_extent(
+	uint64_t		rtbno,
+	uint64_t		len,
+	void			*priv)
+{
+	struct xreap_state	*rs = priv;
+	struct xfs_scrub	*sc = rs->sc;
+	xfs_rgnumber_t		rgno;
+	xfs_rgblock_t		rgbno = xfs_rtb_to_rgbno(sc->mp, rtbno, &rgno);
+	xfs_rgblock_t		rgbno_next = rgbno + len;
+	int			error = 0;
+
+	ASSERT(sc->ip != NULL);
+	ASSERT(!sc->sr.rtg);
+
+	/*
+	 * We're reaping blocks after repairing file metadata, which means that
+	 * we have to init the xchk_ag structure ourselves.
+	 */
+	sc->sr.rtg = xfs_rtgroup_get(sc->mp, rgno);
+	if (!sc->sr.rtg)
+		return -EFSCORRUPTED;
+
+	xfs_rtgroup_lock(NULL, sc->sr.rtg, XREAP_RTGLOCK_ALL);
+
+	while (rgbno < rgbno_next) {
+		xfs_extlen_t	rglen;
+		bool		crosslinked;
+
+		error = xreap_rgextent_select(rs, rgbno, rgbno_next,
+				&crosslinked, &rglen);
+		if (error)
+			goto out_unlock;
+
+		error = xreap_rgextent_iter(rs, rgbno, &rglen, crosslinked);
+		if (error)
+			goto out_unlock;
+
+		if (xreap_want_defer_finish(rs)) {
+			error = xfs_defer_finish(&sc->tp);
+			if (error)
+				goto out_unlock;
+			xreap_defer_finish_reset(rs);
+		} else if (xreap_want_roll(rs)) {
+			error = xfs_trans_roll_inode(&sc->tp, sc->ip);
+			if (error)
+				goto out_unlock;
+			xreap_reset(rs);
+		}
+
+		rgbno += rglen;
+	}
+
+out_unlock:
+	xfs_rtgroup_unlock(sc->sr.rtg, XREAP_RTGLOCK_ALL);
+	xfs_rtgroup_put(sc->sr.rtg);
+	sc->sr.rtg = NULL;
+	return error;
+}
+
+/*
+ * Dispose of every block of every rt metadata extent in the bitmap.
+ * Do not use this to dispose of the mappings in an ondisk inode fork.
+ */
+int
+xrep_reap_rtblocks(
+	struct xfs_scrub		*sc,
+	struct xrtb_bitmap		*bitmap,
+	const struct xfs_owner_info	*oinfo)
+{
+	struct xreap_state		rs = {
+		.sc			= sc,
+		.oinfo			= oinfo,
+		.resv			= XFS_AG_RESV_NONE,
+	};
+	int				error;
+
+	ASSERT(xfs_has_rmapbt(sc->mp));
+	ASSERT(sc->ip != NULL);
+
+	error = xrtb_bitmap_walk(bitmap, xreap_rtmeta_extent, &rs);
+	if (error)
+		return error;
+
+	if (xreap_dirty(&rs))
+		return xrep_defer_finish(sc);
+
+	return 0;
+}
+#endif /* CONFIG_XFS_RT */
+
 /*
  * Dispose of every block of an old metadata btree that used to be rooted in a
  * metadata directory file.
diff --git a/fs/xfs/scrub/reap.h b/fs/xfs/scrub/reap.h
index 70e5e6bbb8d38..4c8f62701fb36 100644
--- a/fs/xfs/scrub/reap.h
+++ b/fs/xfs/scrub/reap.h
@@ -17,6 +17,13 @@ int xrep_reap_ifork(struct xfs_scrub *sc, struct xfs_inode *ip, int whichfork);
 int xrep_reap_metadir_fsblocks(struct xfs_scrub *sc,
 		struct xfsb_bitmap *bitmap);
 
+#ifdef CONFIG_XFS_RT
+int xrep_reap_rtblocks(struct xfs_scrub *sc, struct xrtb_bitmap *bitmap,
+		const struct xfs_owner_info *oinfo);
+#else
+# define xrep_reap_rtblocks(...)	(-EOPNOTSUPP)
+#endif /* CONFIG_XFS_RT */
+
 /* Buffer cache scan context. */
 struct xrep_bufscan {
 	/* Disk address for the buffers we want to scan. */
diff --git a/fs/xfs/scrub/repair.h b/fs/xfs/scrub/repair.h
index 969317d429db6..801a9013f37f1 100644
--- a/fs/xfs/scrub/repair.h
+++ b/fs/xfs/scrub/repair.h
@@ -51,6 +51,7 @@ struct xbitmap;
 struct xagb_bitmap;
 struct xrgb_bitmap;
 struct xfsb_bitmap;
+struct xrtb_bitmap;
 
 int xrep_fix_freelist(struct xfs_scrub *sc, int alloc_flags);
 
diff --git a/fs/xfs/scrub/rtb_bitmap.h b/fs/xfs/scrub/rtb_bitmap.h
new file mode 100644
index 0000000000000..1313ef605511e
--- /dev/null
+++ b/fs/xfs/scrub/rtb_bitmap.h
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (c) 2022-2024 Oracle.  All Rights Reserved.
+ * Author: Darrick J. Wong <djwong@kernel.org>
+ */
+#ifndef __XFS_SCRUB_RTB_BITMAP_H__
+#define __XFS_SCRUB_RTB_BITMAP_H__
+
+/* Bitmaps, but for type-checked for xfs_rtblock_t */
+
+struct xrtb_bitmap {
+	struct xbitmap64	rtbitmap;
+};
+
+static inline void xrtb_bitmap_init(struct xrtb_bitmap *bitmap)
+{
+	xbitmap64_init(&bitmap->rtbitmap);
+}
+
+static inline void xrtb_bitmap_destroy(struct xrtb_bitmap *bitmap)
+{
+	xbitmap64_destroy(&bitmap->rtbitmap);
+}
+
+static inline int xrtb_bitmap_set(struct xrtb_bitmap *bitmap,
+		xfs_rtblock_t start, xfs_filblks_t len)
+{
+	return xbitmap64_set(&bitmap->rtbitmap, start, len);
+}
+
+static inline int xrtb_bitmap_walk(struct xrtb_bitmap *bitmap,
+		xbitmap64_walk_fn fn, void *priv)
+{
+	return xbitmap64_walk(&bitmap->rtbitmap, fn, priv);
+}
+
+#endif	/* __XFS_SCRUB_RTB_BITMAP_H__ */
diff --git a/fs/xfs/scrub/trace.h b/fs/xfs/scrub/trace.h
index aa943433cbb02..2c6f7e3b7578d 100644
--- a/fs/xfs/scrub/trace.h
+++ b/fs/xfs/scrub/trace.h
@@ -2013,6 +2013,41 @@ DEFINE_REPAIR_EXTENT_EVENT(xreap_agextent_binval);
 DEFINE_REPAIR_EXTENT_EVENT(xreap_bmapi_binval);
 DEFINE_REPAIR_EXTENT_EVENT(xrep_agfl_insert);
 
+#ifdef CONFIG_XFS_RT
+DECLARE_EVENT_CLASS(xrep_rtgroup_extent_class,
+	TP_PROTO(struct xfs_rtgroup *rtg, xfs_rgblock_t rgbno,
+		 xfs_extlen_t len),
+	TP_ARGS(rtg, rgbno, len),
+	TP_STRUCT__entry(
+		__field(dev_t, dev)
+		__field(dev_t, rtdev)
+		__field(xfs_rgnumber_t, rgno)
+		__field(xfs_rgblock_t, rgbno)
+		__field(xfs_extlen_t, len)
+	),
+	TP_fast_assign(
+		__entry->dev = rtg->rtg_mount->m_super->s_dev;
+		__entry->rtdev = rtg->rtg_mount->m_rtdev_targp->bt_dev;
+		__entry->rgno = rtg->rtg_rgno;
+		__entry->rgbno = rgbno;
+		__entry->len = len;
+	),
+	TP_printk("dev %d:%d rtdev %d:%d rgno 0x%x rgbno 0x%x fsbcount 0x%x",
+		  MAJOR(__entry->dev), MINOR(__entry->dev),
+		  MAJOR(__entry->rtdev), MINOR(__entry->rtdev),
+		  __entry->rgno,
+		  __entry->rgbno,
+		  __entry->len)
+);
+#define DEFINE_REPAIR_RTGROUP_EXTENT_EVENT(name) \
+DEFINE_EVENT(xrep_rtgroup_extent_class, name, \
+	TP_PROTO(struct xfs_rtgroup *rtg, xfs_rgblock_t rgbno, \
+		 xfs_extlen_t len), \
+	TP_ARGS(rtg, rgbno, len))
+DEFINE_REPAIR_RTGROUP_EXTENT_EVENT(xreap_dispose_unmap_rtextent);
+DEFINE_REPAIR_RTGROUP_EXTENT_EVENT(xreap_dispose_free_rtextent);
+#endif /* CONFIG_XFS_RT */
+
 DECLARE_EVENT_CLASS(xrep_reap_find_class,
 	TP_PROTO(struct xfs_perag *pag, xfs_agblock_t agbno, xfs_extlen_t len,
 		bool crosslinked),
@@ -2046,6 +2081,43 @@ DEFINE_EVENT(xrep_reap_find_class, name, \
 DEFINE_REPAIR_REAP_FIND_EVENT(xreap_agextent_select);
 DEFINE_REPAIR_REAP_FIND_EVENT(xreap_bmapi_select);
 
+#ifdef CONFIG_XFS_RT
+DECLARE_EVENT_CLASS(xrep_rtgroup_reap_find_class,
+	TP_PROTO(struct xfs_rtgroup *rtg, xfs_rgblock_t rgbno, xfs_extlen_t len,
+		 bool crosslinked),
+	TP_ARGS(rtg, rgbno, len, crosslinked),
+	TP_STRUCT__entry(
+		__field(dev_t, dev)
+		__field(dev_t, rtdev)
+		__field(xfs_rgnumber_t, rgno)
+		__field(xfs_rgblock_t, rgbno)
+		__field(xfs_extlen_t, len)
+		__field(bool, crosslinked)
+	),
+	TP_fast_assign(
+		__entry->dev = rtg->rtg_mount->m_super->s_dev;
+		__entry->rtdev = rtg->rtg_mount->m_rtdev_targp->bt_dev;
+		__entry->rgno = rtg->rtg_rgno;
+		__entry->rgbno = rgbno;
+		__entry->len = len;
+		__entry->crosslinked = crosslinked;
+	),
+	TP_printk("dev %d:%d rtdev %d:%d rgno 0x%x rgbno 0x%x fsbcount 0x%x crosslinked %d",
+		  MAJOR(__entry->dev), MINOR(__entry->dev),
+		  MAJOR(__entry->rtdev), MINOR(__entry->rtdev),
+		  __entry->rgno,
+		  __entry->rgbno,
+		  __entry->len,
+		  __entry->crosslinked ? 1 : 0)
+);
+#define DEFINE_REPAIR_RTGROUP_REAP_FIND_EVENT(name) \
+DEFINE_EVENT(xrep_rtgroup_reap_find_class, name, \
+	TP_PROTO(struct xfs_rtgroup *rtg, xfs_rgblock_t rgbno, \
+		 xfs_extlen_t len, bool crosslinked), \
+	TP_ARGS(rtg, rgbno, len, crosslinked))
+DEFINE_REPAIR_RTGROUP_REAP_FIND_EVENT(xreap_rgextent_select);
+#endif /* CONFIG_XFS_RT */
+
 DECLARE_EVENT_CLASS(xrep_rmap_class,
 	TP_PROTO(struct xfs_mount *mp, xfs_agnumber_t agno,
 		 xfs_agblock_t agbno, xfs_extlen_t len,


  parent reply	other threads:[~2023-12-31 21:55 UTC|newest]

Thread overview: 632+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-31 18:23 [NYE PATCHRIVER 3/4] xfs: modernize the realtime volume Darrick J. Wong
2023-12-31 19:34 ` [PATCHSET v2.0 01/15] xfs: hoist inode operations to libxfs Darrick J. Wong
2023-12-31 21:01   ` [PATCH 01/21] xfs: move inode copy-on-write predicates to xfs_inode.[ch] Darrick J. Wong
2023-12-31 21:01   ` [PATCH 02/21] xfs: hoist extent size helpers to libxfs Darrick J. Wong
2023-12-31 21:01   ` [PATCH 03/21] xfs: hoist inode flag conversion functions " Darrick J. Wong
2023-12-31 21:01   ` [PATCH 04/21] xfs: hoist project id get/set " Darrick J. Wong
2023-12-31 21:02   ` [PATCH 05/21] xfs: pack icreate initialization parameters into a separate structure Darrick J. Wong
2023-12-31 21:02   ` [PATCH 06/21] xfs: implement atime updates in xfs_trans_ichgtime Darrick J. Wong
2023-12-31 21:02   ` [PATCH 07/21] xfs: use xfs_trans_ichgtime to set times when allocating inode Darrick J. Wong
2023-12-31 21:02   ` [PATCH 08/21] xfs: split new inode creation into two pieces Darrick J. Wong
2023-12-31 21:03   ` [PATCH 09/21] xfs: hoist new inode initialization functions to libxfs Darrick J. Wong
2023-12-31 21:03   ` [PATCH 10/21] xfs: push xfs_icreate_args creation out of xfs_create* Darrick J. Wong
2023-12-31 21:03   ` [PATCH 11/21] xfs: wrap inode creation dqalloc calls Darrick J. Wong
2023-12-31 21:03   ` [PATCH 12/21] xfs: hoist xfs_iunlink to libxfs Darrick J. Wong
2023-12-31 21:04   ` [PATCH 13/21] xfs: hoist xfs_{bump,drop}link " Darrick J. Wong
2023-12-31 21:04   ` [PATCH 14/21] xfs: create libxfs helper to link a new inode into a directory Darrick J. Wong
2023-12-31 21:04   ` [PATCH 15/21] xfs: create libxfs helper to link an existing " Darrick J. Wong
2023-12-31 21:04   ` [PATCH 16/21] xfs: hoist inode free function to libxfs Darrick J. Wong
2023-12-31 21:05   ` [PATCH 17/21] xfs: create libxfs helper to remove an existing inode/name from a directory Darrick J. Wong
2023-12-31 21:05   ` [PATCH 18/21] xfs: create libxfs helper to exchange two directory entries Darrick J. Wong
2023-12-31 21:05   ` [PATCH 19/21] xfs: create libxfs helper to rename " Darrick J. Wong
2023-12-31 21:05   ` [PATCH 20/21] xfs: move dirent update hooks to xfs_dir2.c Darrick J. Wong
2023-12-31 21:06   ` [PATCH 21/21] xfs: get rid of trivial rename helpers Darrick J. Wong
2023-12-31 19:35 ` [PATCHSET v2.0 02/15] xfs: metadata inode directories Darrick J. Wong
2023-12-31 21:06   ` [PATCH 01/32] xfs: don't use the incore struct xfs_sb for offsets into struct xfs_dsb Darrick J. Wong
2023-12-31 21:06   ` [PATCH 02/32] xfs: create imeta abstractions to get and set metadata inodes Darrick J. Wong
2023-12-31 21:07   ` [PATCH 03/32] xfs: create transaction reservations for metadata inode operations Darrick J. Wong
2023-12-31 21:07   ` [PATCH 04/32] xfs: refactor the v4 group/project inode pointer switch Darrick J. Wong
2023-12-31 21:07   ` [PATCH 05/32] xfs: convert quota file creation to use imeta methods Darrick J. Wong
2023-12-31 21:07   ` [PATCH 06/32] xfs: iget for metadata inodes Darrick J. Wong
2023-12-31 21:08   ` [PATCH 07/32] xfs: define the on-disk format for the metadir feature Darrick J. Wong
2023-12-31 21:08   ` [PATCH 08/32] xfs: update imeta transaction reservations for metadir Darrick J. Wong
2023-12-31 21:08   ` [PATCH 09/32] xfs: load metadata directory root at mount time Darrick J. Wong
2023-12-31 21:08   ` [PATCH 10/32] xfs: convert metadata inode lookup keys to use paths Darrick J. Wong
2023-12-31 21:09   ` [PATCH 11/32] xfs: enforce metadata inode flag Darrick J. Wong
2023-12-31 21:09   ` [PATCH 12/32] xfs: allow deletion of metadata directory files Darrick J. Wong
2023-12-31 21:09   ` [PATCH 13/32] xfs: read and write metadata inode directory Darrick J. Wong
2023-12-31 21:09   ` [PATCH 14/32] xfs: ensure metadata directory paths exist before creating files Darrick J. Wong
2023-12-31 21:10   ` [PATCH 15/32] xfs: disable the agi rotor for metadata inodes Darrick J. Wong
2023-12-31 21:10   ` [PATCH 16/32] xfs: hide metadata inodes from everyone because they are special Darrick J. Wong
2023-12-31 21:10   ` [PATCH 17/32] xfs: advertise metadata directory feature Darrick J. Wong
2023-12-31 21:10   ` [PATCH 18/32] xfs: allow bulkstat to return metadata directories Darrick J. Wong
2023-12-31 21:11   ` [PATCH 19/32] xfs: enable creation of dynamically allocated metadir path structures Darrick J. Wong
2023-12-31 21:11   ` [PATCH 20/32] xfs: don't count metadata directory files to quota Darrick J. Wong
2023-12-31 21:11   ` [PATCH 21/32] xfs: adjust xfs_bmap_add_attrfork for metadir Darrick J. Wong
2023-12-31 21:11   ` [PATCH 22/32] xfs: record health problems with the metadata directory Darrick J. Wong
2023-12-31 21:12   ` [PATCH 23/32] xfs: do not count metadata directory files when doing online quotacheck Darrick J. Wong
2023-12-31 21:12   ` [PATCH 24/32] xfs: scrub shouldn't tag metadata files with attr forks if metadir and parent pointers are on Darrick J. Wong
2023-12-31 21:12   ` [PATCH 25/32] xfs: scrub metadata directories Darrick J. Wong
2023-12-31 21:13   ` [PATCH 26/32] xfs: teach nlink scrubber to deal with metadata directory roots Darrick J. Wong
2023-12-31 21:13   ` [PATCH 27/32] xfs: don't check secondary super inode pointers when metadir enabled Darrick J. Wong
2023-12-31 21:13   ` [PATCH 28/32] xfs: move repair temporary files to the metadata directory tree Darrick J. Wong
2023-12-31 21:13   ` [PATCH 29/32] xfs: check metadata directory file path connectivity Darrick J. Wong
2023-12-31 21:14   ` [PATCH 30/32] xfs: repair " Darrick J. Wong
2023-12-31 21:14   ` [PATCH 31/32] xfs: fix up repair functions for metadata directory roots Darrick J. Wong
2023-12-31 21:14   ` [PATCH 32/32] xfs: enable metadata directory feature Darrick J. Wong
2023-12-31 19:35 ` [PATCHSET v2.0 03/15] xfs: refactor realtime meta inode locking Darrick J. Wong
2023-12-31 21:14   ` [PATCH 1/4] xfs: refactor realtime scrubbing context management Darrick J. Wong
2023-12-31 21:15   ` [PATCH 2/4] xfs: use separate lock classes for realtime metadata inode ILOCKs Darrick J. Wong
2023-12-31 21:15   ` [PATCH 3/4] xfs: refactor realtime inode locking Darrick J. Wong
2023-12-31 21:15   ` [PATCH 4/4] xfs: remove XFS_ILOCK_RT* Darrick J. Wong
2023-12-31 19:35 ` [PATCHSET v2.0 04/15] xfsprogs: shard the realtime section Darrick J. Wong
2023-12-31 21:15   ` [PATCH 01/24] xfs: create incore realtime group structures Darrick J. Wong
2023-12-31 21:16   ` [PATCH 02/24] xfs: define the format of rt groups Darrick J. Wong
2023-12-31 21:16   ` [PATCH 03/24] xfs: reduce rt summary file levels for rtgroups filesystems Darrick J. Wong
2023-12-31 21:16   ` [PATCH 04/24] xfs: check the realtime superblock at mount time Darrick J. Wong
2023-12-31 21:16   ` [PATCH 05/24] xfs: update primary realtime super every time we update the primary fs super Darrick J. Wong
2023-12-31 21:17   ` [PATCH 06/24] xfs: write secondary realtime superblocks to disk Darrick J. Wong
2023-12-31 21:17   ` [PATCH 07/24] xfs: grow the realtime section when realtime groups are enabled Darrick J. Wong
2023-12-31 21:17   ` [PATCH 08/24] xfs: always update secondary rt supers when we update secondary fs supers Darrick J. Wong
2023-12-31 21:17   ` [PATCH 09/24] xfs: export realtime group geometry via XFS_FSOP_GEOM Darrick J. Wong
2023-12-31 21:18   ` [PATCH 10/24] xfs: check that rtblock extents do not overlap with the rt group metadata Darrick J. Wong
2023-12-31 21:18   ` [PATCH 11/24] xfs: add frextents to the lazysbcounters when rtgroups enabled Darrick J. Wong
2023-12-31 21:18   ` [PATCH 12/24] xfs: record rt group superblock errors in the health system Darrick J. Wong
2023-12-31 21:19   ` [PATCH 13/24] xfs: define locking primitives for realtime groups Darrick J. Wong
2023-12-31 21:19   ` [PATCH 14/24] xfs: export the geometry of realtime groups to userspace Darrick J. Wong
2023-12-31 21:19   ` [PATCH 15/24] xfs: add block headers to realtime bitmap blocks Darrick J. Wong
2023-12-31 21:19   ` [PATCH 16/24] xfs: encode the rtbitmap in little endian format Darrick J. Wong
2023-12-31 21:20   ` [PATCH 17/24] xfs: add block headers to realtime summary blocks Darrick J. Wong
2023-12-31 21:20   ` [PATCH 18/24] xfs: encode the rtsummary in big endian format Darrick J. Wong
2023-12-31 21:20   ` [PATCH 19/24] xfs: store rtgroup information with a bmap intent Darrick J. Wong
2023-12-31 21:20   ` [PATCH 20/24] xfs: use an incore rtgroup rotor for rtpick Darrick J. Wong
2023-12-31 21:21   ` [PATCH 21/24] xfs: scrub the realtime group superblock Darrick J. Wong
2023-12-31 21:21   ` [PATCH 22/24] xfs: repair secondary realtime group superblocks Darrick J. Wong
2023-12-31 21:21   ` [PATCH 23/24] xfs: scrub each rtgroup's portion of the rtbitmap separately Darrick J. Wong
2023-12-31 21:21   ` [PATCH 24/24] xfs: enable realtime group feature Darrick J. Wong
2023-12-31 19:35 ` [PATCHSET v2.0 05/15] xfs: enable FITRIM for the realtime section Darrick J. Wong
2023-12-31 21:22   ` [PATCH 1/1] xfs: enable FITRIM on the realtime device Darrick J. Wong
2024-06-20 19:59     ` [PATCH v2.1 " Darrick J. Wong
2023-12-31 19:36 ` [PATCHSET v2.0 06/15] xfs: refactor btrees to support records in inode root Darrick J. Wong
2023-12-31 21:22   ` [PATCH 01/14] xfs: replace shouty XFS_BM{BT,DR} macros Darrick J. Wong
2023-12-31 21:22   ` [PATCH 02/14] xfs: refactor the allocation and freeing of incore inode fork btree roots Darrick J. Wong
2023-12-31 21:22   ` [PATCH 03/14] xfs: refactor creation of bmap " Darrick J. Wong
2023-12-31 21:23   ` [PATCH 04/14] xfs: fix a sloppy memory handling bug in xfs_iroot_realloc Darrick J. Wong
2023-12-31 21:23   ` [PATCH 05/14] xfs: hoist the code that moves the incore inode fork broot memory Darrick J. Wong
2023-12-31 21:23   ` [PATCH 06/14] xfs: move the zero records logic into xfs_bmap_broot_space_calc Darrick J. Wong
2023-12-31 21:23   ` [PATCH 07/14] xfs: rearrange xfs_iroot_realloc a bit Darrick J. Wong
2023-12-31 21:24   ` [PATCH 08/14] xfs: standardize the btree maxrecs function parameters Darrick J. Wong
2023-12-31 21:24   ` [PATCH 09/14] xfs: generalize the btree root reallocation function Darrick J. Wong
2023-12-31 21:24   ` [PATCH 10/14] xfs: support leaves in the incore btree root block in xfs_iroot_realloc Darrick J. Wong
2023-12-31 21:24   ` [PATCH 11/14] xfs: hoist the node iroot update code out of xfs_btree_new_iroot Darrick J. Wong
2023-12-31 21:25   ` [PATCH 12/14] xfs: hoist the node iroot update code out of xfs_btree_kill_iroot Darrick J. Wong
2023-12-31 21:25   ` [PATCH 13/14] xfs: support storing records in the inode core root Darrick J. Wong
2023-12-31 21:25   ` [PATCH 14/14] xfs: update btree keys correctly when _insrec splits an inode root block Darrick J. Wong
2023-12-31 19:36 ` [PATCHSET v2.0 07/15] xfs: enable in-core block reservation for rt metadata Darrick J. Wong
2023-12-31 21:26   ` [PATCH 1/2] xfs: simplify xfs_ag_resv_free signature Darrick J. Wong
2023-12-31 21:26   ` [PATCH 2/2] xfs: allow inode-based btrees to reserve space in the data device Darrick J. Wong
2023-12-31 19:36 ` [PATCHSET v2.0 08/15] xfs: extent free log intent cleanups Darrick J. Wong
2023-12-31 21:26   ` [PATCH 1/9] xfs: clean up extent free log intent item tracepoint callsites Darrick J. Wong
2023-12-31 21:26   ` [PATCH 2/9] xfs: convert "skip_discard" to a proper flags bitset Darrick J. Wong
2023-12-31 21:27   ` [PATCH 3/9] xfs: pass the fsbno to xfs_perag_intent_get Darrick J. Wong
2023-12-31 21:27   ` [PATCH 4/9] xfs: add a xefi_entry helper Darrick J. Wong
2023-12-31 21:27   ` [PATCH 5/9] xfs: reuse xfs_extent_free_cancel_item Darrick J. Wong
2023-12-31 21:27   ` [PATCH 6/9] xfs: factor out a xfs_efd_add_extent helper Darrick J. Wong
2023-12-31 21:28   ` [PATCH 7/9] xfs: remove duplicate asserts in xfs_defer_extent_free Darrick J. Wong
2023-12-31 21:28   ` [PATCH 8/9] xfs: remove xfs_defer_agfl_block Darrick J. Wong
2023-12-31 21:28   ` [PATCH 9/9] xfs: move xfs_extent_free_defer_add to xfs_extfree_item.c Darrick J. Wong
2023-12-31 19:36 ` [PATCHSET v2.0 09/15] xfs: widen EFI format to support rt Darrick J. Wong
2023-12-31 21:28   ` [PATCH 1/2] xfs: support logging EFIs for realtime extents Darrick J. Wong
2023-12-31 21:29   ` [PATCH 2/2] xfs: support error injection when freeing rt extents Darrick J. Wong
2023-12-31 19:37 ` [PATCHSET v2.0 10/15] xfs: rmap log intent cleanups Darrick J. Wong
2023-12-31 21:29   ` [PATCH 01/10] xfs: attach rtgroup objects to btree cursors Darrick J. Wong
2023-12-31 21:29   ` [PATCH 02/10] xfs: give rmap btree cursor error tracepoints their own class Darrick J. Wong
2023-12-31 21:29   ` [PATCH 03/10] xfs: prepare rmap btree tracepoints for widening Darrick J. Wong
2023-12-31 21:30   ` [PATCH 04/10] xfs: clean up rmap log intent item tracepoint callsites Darrick J. Wong
2023-12-31 21:30   ` [PATCH 05/10] xfs: remove xfs_trans_set_rmap_flags Darrick J. Wong
2023-12-31 21:30   ` [PATCH 06/10] xfs: add a ri_entry helper Darrick J. Wong
2023-12-31 21:31   ` [PATCH 07/10] xfs: reuse xfs_rmap_update_cancel_item Darrick J. Wong
2023-12-31 21:31   ` [PATCH 08/10] xfs: don't bother calling xfs_rmap_finish_one_cleanup in xfs_rmap_finish_one Darrick J. Wong
2023-12-31 21:31   ` [PATCH 09/10] xfs: simplify usage of the rcur local variable " Darrick J. Wong
2023-12-31 21:31   ` [PATCH 10/10] xfs: move xfs_rmap_update_defer_add to xfs_rmap_item.c Darrick J. Wong
2023-12-31 19:37 ` [PATCHSET v2.0 11/15] xfs: realtime reverse-mapping support Darrick J. Wong
2023-12-31 21:32   ` [PATCH 01/39] xfs: prepare rmap btree cursor tracepoints for realtime Darrick J. Wong
2023-12-31 21:32   ` [PATCH 02/39] xfs: simplify the xfs_rmap_{alloc,free}_extent calling conventions Darrick J. Wong
2023-12-31 21:32   ` [PATCH 03/39] xfs: introduce realtime rmap btree definitions Darrick J. Wong
2023-12-31 21:32   ` [PATCH 04/39] xfs: define the on-disk realtime rmap btree format Darrick J. Wong
2023-12-31 21:33   ` [PATCH 05/39] xfs: realtime rmap btree transaction reservations Darrick J. Wong
2023-12-31 21:33   ` [PATCH 06/39] xfs: add realtime rmap btree operations Darrick J. Wong
2023-12-31 21:33   ` [PATCH 07/39] xfs: prepare rmap functions to deal with rtrmapbt Darrick J. Wong
2023-12-31 21:33   ` [PATCH 08/39] xfs: add a realtime flag to the rmap update log redo items Darrick J. Wong
2023-12-31 21:34   ` [PATCH 09/39] xfs: support recovering rmap intent items targetting realtime extents Darrick J. Wong
2023-12-31 21:34   ` [PATCH 10/39] xfs: add realtime rmap btree block detection to log recovery Darrick J. Wong
2023-12-31 21:34   ` [PATCH 11/39] xfs: add realtime reverse map inode to metadata directory Darrick J. Wong
2023-12-31 21:34   ` [PATCH 12/39] xfs: add metadata reservations for realtime rmap btrees Darrick J. Wong
2023-12-31 21:35   ` [PATCH 13/39] xfs: wire up a new inode fork type for the realtime rmap Darrick J. Wong
2023-12-31 21:35   ` [PATCH 14/39] xfs: allow inodes with zero extents but nonzero nblocks Darrick J. Wong
2023-12-31 21:35   ` [PATCH 15/39] xfs: use realtime EFI to free extents when realtime rmap is enabled Darrick J. Wong
2023-12-31 21:35   ` [PATCH 16/39] xfs: wire up rmap map and unmap to the realtime rmapbt Darrick J. Wong
2023-12-31 21:36   ` [PATCH 17/39] xfs: create routine to allocate and initialize a realtime rmap btree inode Darrick J. Wong
2023-12-31 21:36   ` [PATCH 18/39] xfs: rearrange xfs_fsmap.c a little bit Darrick J. Wong
2023-12-31 21:36   ` [PATCH 19/39] xfs: wire up getfsmap to the realtime reverse mapping btree Darrick J. Wong
2023-12-31 21:37   ` [PATCH 20/39] xfs: check that the rtrmapbt maxlevels doesn't increase when growing fs Darrick J. Wong
2023-12-31 21:37   ` [PATCH 21/39] xfs: add realtime rmap btree when adding rt volume Darrick J. Wong
2023-12-31 21:37   ` [PATCH 22/39] xfs: report realtime rmap btree corruption errors to the health system Darrick J. Wong
2023-12-31 21:37   ` [PATCH 23/39] xfs: fix scrub tracepoints when inode-rooted btrees are involved Darrick J. Wong
2023-12-31 21:38   ` [PATCH 24/39] xfs: allow queued realtime intents to drain before scrubbing Darrick J. Wong
2023-12-31 21:38   ` [PATCH 25/39] xfs: scrub the realtime rmapbt Darrick J. Wong
2023-12-31 21:38   ` [PATCH 26/39] xfs: cross-reference realtime bitmap to realtime rmapbt scrubber Darrick J. Wong
2023-12-31 21:38   ` [PATCH 27/39] xfs: cross-reference the realtime rmapbt Darrick J. Wong
2023-12-31 21:39   ` [PATCH 28/39] xfs: scan rt rmap when we're doing an intense rmap check of bmbt mappings Darrick J. Wong
2023-12-31 21:39   ` [PATCH 29/39] xfs: scrub the metadir path of rt rmap btree files Darrick J. Wong
2023-12-31 21:39   ` [PATCH 30/39] xfs: walk the rt reverse mapping tree when rebuilding rmap Darrick J. Wong
2023-12-31 21:39   ` [PATCH 31/39] xfs: online repair of realtime file bmaps Darrick J. Wong
2023-12-31 21:40   ` [PATCH 32/39] xfs: repair inodes that have realtime extents Darrick J. Wong
2023-12-31 21:40   ` [PATCH 33/39] xfs: repair rmap btree inodes Darrick J. Wong
2023-12-31 21:40   ` [PATCH 34/39] xfs: online repair of realtime bitmaps for a realtime group Darrick J. Wong
2023-12-31 21:40   ` [PATCH 35/39] xfs: support repairing metadata btrees rooted in metadir inodes Darrick J. Wong
2023-12-31 21:41   ` [PATCH 36/39] xfs: online repair of the realtime rmap btree Darrick J. Wong
2023-12-31 21:41   ` [PATCH 37/39] xfs: create a shadow rmap btree during realtime rmap repair Darrick J. Wong
2023-12-31 21:41   ` [PATCH 38/39] xfs: hook live realtime rmap operations during a repair operation Darrick J. Wong
2023-12-31 21:41   ` [PATCH 39/39] xfs: enable realtime rmap btree Darrick J. Wong
2023-12-31 19:37 ` [PATCHSET v2.0 12/15] xfs: refcount log intent cleanups Darrick J. Wong
2023-12-31 21:42   ` [PATCH 01/10] xfs: give refcount btree cursor error tracepoints their own class Darrick J. Wong
2023-12-31 21:42   ` [PATCH 02/10] xfs: create specialized classes for refcount tracepoints Darrick J. Wong
2023-12-31 21:42   ` [PATCH 03/10] xfs: prepare refcount btree tracepoints for widening Darrick J. Wong
2023-12-31 21:43   ` [PATCH 04/10] xfs: clean up refcount log intent item tracepoint callsites Darrick J. Wong
2023-12-31 21:43   ` [PATCH 05/10] xfs: remove xfs_trans_set_refcount_flags Darrick J. Wong
2023-12-31 21:43   ` [PATCH 06/10] xfs: add a ci_entry helper Darrick J. Wong
2023-12-31 21:43   ` [PATCH 07/10] xfs: reuse xfs_refcount_update_cancel_item Darrick J. Wong
2023-12-31 21:44   ` [PATCH 08/10] xfs: don't bother calling xfs_refcount_finish_one_cleanup in xfs_refcount_finish_one Darrick J. Wong
2023-12-31 21:44   ` [PATCH 09/10] xfs: simplify usage of the rcur local variable " Darrick J. Wong
2023-12-31 21:44   ` [PATCH 10/10] xfs: move xfs_refcount_update_defer_add to xfs_refcount_item.c Darrick J. Wong
2023-12-31 19:37 ` [PATCHSET v2.0 13/15] xfs: reflink on the realtime device Darrick J. Wong
2023-12-31 21:44   ` [PATCH 01/44] xfs: prepare refcount btree cursor tracepoints for realtime Darrick J. Wong
2023-12-31 21:45   ` [PATCH 02/44] xfs: introduce realtime refcount btree definitions Darrick J. Wong
2023-12-31 21:45   ` [PATCH 03/44] xfs: namespace the maximum length/refcount symbols Darrick J. Wong
2023-12-31 21:45   ` [PATCH 04/44] xfs: define the on-disk realtime refcount btree format Darrick J. Wong
2023-12-31 21:45   ` [PATCH 05/44] xfs: realtime refcount btree transaction reservations Darrick J. Wong
2023-12-31 21:46   ` [PATCH 06/44] xfs: add realtime refcount btree operations Darrick J. Wong
2023-12-31 21:46   ` [PATCH 07/44] xfs: prepare refcount functions to deal with rtrefcountbt Darrick J. Wong
2023-12-31 21:46   ` [PATCH 08/44] xfs: add a realtime flag to the refcount update log redo items Darrick J. Wong
2023-12-31 21:46   ` [PATCH 09/44] xfs: support recovering refcount intent items targetting realtime extents Darrick J. Wong
2023-12-31 21:47   ` [PATCH 10/44] xfs: add realtime refcount btree block detection to log recovery Darrick J. Wong
2023-12-31 21:47   ` [PATCH 11/44] xfs: add realtime refcount btree inode to metadata directory Darrick J. Wong
2023-12-31 21:47   ` [PATCH 12/44] xfs: add metadata reservations for realtime refcount btree Darrick J. Wong
2023-12-31 21:47   ` [PATCH 13/44] xfs: wire up a new inode fork type for the realtime refcount Darrick J. Wong
2023-12-31 21:48   ` [PATCH 14/44] xfs: wire up realtime refcount btree cursors Darrick J. Wong
2023-12-31 21:48   ` [PATCH 15/44] xfs: create routine to allocate and initialize a realtime refcount btree inode Darrick J. Wong
2023-12-31 21:48   ` [PATCH 16/44] xfs: update rmap to allow cow staging extents in the rt rmap Darrick J. Wong
2023-12-31 21:49   ` [PATCH 17/44] xfs: compute rtrmap btree max levels when reflink enabled Darrick J. Wong
2023-12-31 21:49   ` [PATCH 18/44] xfs: refactor reflink quota updates Darrick J. Wong
2023-12-31 21:49   ` [PATCH 19/44] xfs: enable CoW for realtime data Darrick J. Wong
2023-12-31 21:49   ` [PATCH 20/44] xfs: enable sharing of realtime file blocks Darrick J. Wong
2023-12-31 21:50   ` [PATCH 21/44] xfs: allow inodes to have the realtime and reflink flags Darrick J. Wong
2023-12-31 21:50   ` [PATCH 22/44] xfs: refcover CoW leftovers in the realtime volume Darrick J. Wong
2023-12-31 21:50   ` [PATCH 23/44] xfs: fix xfs_get_extsz_hint behavior with realtime alwayscow files Darrick J. Wong
2023-12-31 21:50   ` [PATCH 24/44] xfs: apply rt extent alignment constraints to CoW extsize hint Darrick J. Wong
2023-12-31 21:51   ` [PATCH 25/44] xfs: enable extent size hints for CoW operations Darrick J. Wong
2023-12-31 21:51   ` [PATCH 26/44] xfs: check that the rtrefcount maxlevels doesn't increase when growing fs Darrick J. Wong
2023-12-31 21:51   ` [PATCH 27/44] xfs: add realtime refcount btree when adding rt volume Darrick J. Wong
2023-12-31 21:51   ` [PATCH 28/44] xfs: report realtime refcount btree corruption errors to the health system Darrick J. Wong
2023-12-31 21:52   ` [PATCH 29/44] xfs: scrub the realtime refcount btree Darrick J. Wong
2023-12-31 21:52   ` [PATCH 30/44] xfs: cross-reference checks with the rt " Darrick J. Wong
2023-12-31 21:52   ` [PATCH 31/44] xfs: allow overlapping rtrmapbt records for shared data extents Darrick J. Wong
2023-12-31 21:52   ` [PATCH 32/44] xfs: check reference counts of gaps between rt refcount records Darrick J. Wong
2023-12-31 21:53   ` [PATCH 33/44] xfs: allow dquot rt block count to exceed rt blocks on reflink fs Darrick J. Wong
2023-12-31 21:53   ` [PATCH 34/44] xfs: detect and repair misaligned rtinherit directory cowextsize hints Darrick J. Wong
2023-12-31 21:53   ` [PATCH 35/44] xfs: scrub the metadir path of rt refcount btree files Darrick J. Wong
2023-12-31 21:53   ` [PATCH 36/44] xfs: don't flag quota rt block usage on rtreflink filesystems Darrick J. Wong
2023-12-31 21:54   ` [PATCH 37/44] xfs: check new rtbitmap records against rt refcount btree Darrick J. Wong
2023-12-31 21:54   ` [PATCH 38/44] xfs: walk the rt reference count tree when rebuilding rmap Darrick J. Wong
2023-12-31 21:54   ` [PATCH 39/44] xfs: capture realtime CoW staging extents when rebuilding rt rmapbt Darrick J. Wong
2023-12-31 21:54   ` [PATCH 40/44] xfs: online repair of the realtime refcount btree Darrick J. Wong
2023-12-31 21:55   ` [PATCH 41/44] xfs: repair inodes that have a refcount btree in the data fork Darrick J. Wong
2023-12-31 21:55   ` [PATCH 42/44] xfs: check for shared rt extents when rebuilding rt file's " Darrick J. Wong
2023-12-31 21:55   ` Darrick J. Wong [this message]
2023-12-31 21:56   ` [PATCH 44/44] xfs: enable realtime reflink Darrick J. Wong
2023-12-31 19:38 ` [PATCHSET v2.0 14/15] xfs: reflink with large realtime extents Darrick J. Wong
2023-12-31 21:56   ` [PATCH 1/9] vfs: explicitly pass the block size to the remap prep function Darrick J. Wong
2023-12-31 21:56   ` [PATCH 2/9] xfs: enable CoW when rt extent size is larger than 1 block Darrick J. Wong
2023-12-31 21:56   ` [PATCH 3/9] xfs: forcibly convert unwritten blocks within an rt extent before sharing Darrick J. Wong
2023-12-31 21:57   ` [PATCH 4/9] xfs: add some tracepoints for writeback Darrick J. Wong
2023-12-31 21:57   ` [PATCH 5/9] xfs: extend writeback requests to handle rt cow correctly Darrick J. Wong
2023-12-31 21:57   ` [PATCH 6/9] xfs: enable extent size hints for CoW when rtextsize > 1 Darrick J. Wong
2023-12-31 21:57   ` [PATCH 7/9] xfs: allow reflink on the rt volume when extent size is larger than 1 rt block Darrick J. Wong
2023-12-31 21:58   ` [PATCH 8/9] xfs: fix integer overflow when validating extent size hints Darrick J. Wong
2023-12-31 21:58   ` [PATCH 9/9] xfs: support realtime reflink with an extent size that isn't a power of 2 Darrick J. Wong
2023-12-31 19:38 ` [PATCHSET v2.0 15/15] xfs: enable quota for realtime voluems Darrick J. Wong
2023-12-31 21:58   ` [PATCH 1/6] xfs: attach dquots to rt metadata files when starting quota Darrick J. Wong
2023-12-31 21:58   ` [PATCH 2/6] xfs: fix chown with rt quota Darrick J. Wong
2023-12-31 21:59   ` [PATCH 3/6] xfs: fix rt growfs quota accounting Darrick J. Wong
2023-12-31 21:59   ` [PATCH 4/6] xfs: advertise realtime quota support in the xqm stat files Darrick J. Wong
2023-12-31 21:59   ` [PATCH 5/6] xfs: report realtime block quota limits on realtime directories Darrick J. Wong
2023-12-31 21:59   ` [PATCH 6/6] xfs: enable realtime quota again Darrick J. Wong
2023-12-31 19:51 ` [PATCHSET v2.0 01/17] xfsprogs: hoist inode operations to libxfs Darrick J. Wong
2023-12-31 23:22   ` [PATCH 01/28] xfs: hoist extent size helpers " Darrick J. Wong
2023-12-31 23:22   ` [PATCH 02/28] xfs: hoist inode flag conversion functions " Darrick J. Wong
2023-12-31 23:23   ` [PATCH 03/28] xfs: hoist project id get/set " Darrick J. Wong
2023-12-31 23:23   ` [PATCH 04/28] libxfs: put all the inode functions in a single file Darrick J. Wong
2023-12-31 23:23   ` [PATCH 05/28] libxfs: pass IGET flags through to xfs_iread Darrick J. Wong
2023-12-31 23:23   ` [PATCH 06/28] xfs: pack icreate initialization parameters into a separate structure Darrick J. Wong
2023-12-31 23:24   ` [PATCH 07/28] xfs: implement atime updates in xfs_trans_ichgtime Darrick J. Wong
2023-12-31 23:24   ` [PATCH 08/28] libxfs: rearrange libxfs_trans_ichgtime call when creating inodes Darrick J. Wong
2023-12-31 23:24   ` [PATCH 09/28] libxfs: set access time when creating files Darrick J. Wong
2023-12-31 23:24   ` [PATCH 10/28] libxfs: when creating a file in a directory, set the project id based on the parent Darrick J. Wong
2023-12-31 23:25   ` [PATCH 11/28] libxfs: pass flags2 from parent to child when creating files Darrick J. Wong
2023-12-31 23:25   ` [PATCH 12/28] xfs: split new inode creation into two pieces Darrick J. Wong
2023-12-31 23:25   ` [PATCH 13/28] libxfs: backport inode init code from the kernel Darrick J. Wong
2023-12-31 23:25   ` [PATCH 14/28] libxfs: remove libxfs_dir_ialloc Darrick J. Wong
2023-12-31 23:26   ` [PATCH 15/28] libxfs: implement get_random_u32 Darrick J. Wong
2023-12-31 23:26   ` [PATCH 16/28] xfs: hoist new inode initialization functions to libxfs Darrick J. Wong
2023-12-31 23:26   ` [PATCH 17/28] xfs: hoist xfs_iunlink " Darrick J. Wong
2023-12-31 23:26   ` [PATCH 18/28] xfs: hoist xfs_{bump,drop}link " Darrick J. Wong
2023-12-31 23:27   ` [PATCH 19/28] xfs: create libxfs helper to link a new inode into a directory Darrick J. Wong
2023-12-31 23:27   ` [PATCH 20/28] xfs: create libxfs helper to link an existing " Darrick J. Wong
2023-12-31 23:27   ` [PATCH 21/28] xfs: hoist inode free function to libxfs Darrick J. Wong
2023-12-31 23:28   ` [PATCH 22/28] xfs: create libxfs helper to remove an existing inode/name from a directory Darrick J. Wong
2023-12-31 23:28   ` [PATCH 23/28] xfs: create libxfs helper to exchange two directory entries Darrick J. Wong
2023-12-31 23:28   ` [PATCH 24/28] xfs: create libxfs helper to rename " Darrick J. Wong
2023-12-31 23:28   ` [PATCH 25/28] xfs: move dirent update hooks to xfs_dir2.c Darrick J. Wong
2023-12-31 23:29   ` [PATCH 26/28] xfs_db: port the iunlink command to use the libxfs iunlink function Darrick J. Wong
2023-12-31 23:29   ` [PATCH 27/28] xfs_repair: use library functions to reset root/rbm/rsum inodes Darrick J. Wong
2023-12-31 23:29   ` [PATCH 28/28] xfs_repair: use library functions for orphanage creation Darrick J. Wong
2023-12-31 19:52 ` [PATCHSET v2.0 02/17] xfsprogs: metadata inode directories Darrick J. Wong
2023-12-31 23:29   ` [PATCH 01/58] xfs: don't use the incore struct xfs_sb for offsets into struct xfs_dsb Darrick J. Wong
2023-12-31 23:30   ` [PATCH 02/58] xfs: create imeta abstractions to get and set metadata inodes Darrick J. Wong
2023-12-31 23:30   ` [PATCH 03/58] xfs: create transaction reservations for metadata inode operations Darrick J. Wong
2023-12-31 23:30   ` [PATCH 04/58] mkfs: clean up the rtinit() function Darrick J. Wong
2023-12-31 23:30   ` [PATCH 05/58] libxfs: convert all users to libxfs_imeta_create Darrick J. Wong
2023-12-31 23:31   ` [PATCH 06/58] mkfs: break up the rest of the rtinit() function Darrick J. Wong
2023-12-31 23:31   ` [PATCH 07/58] xfs: iget for metadata inodes Darrick J. Wong
2023-12-31 23:31   ` [PATCH 08/58] xfs: define the on-disk format for the metadir feature Darrick J. Wong
2023-12-31 23:31   ` [PATCH 09/58] xfs: update imeta transaction reservations for metadir Darrick J. Wong
2023-12-31 23:32   ` [PATCH 10/58] xfs: load metadata directory root at mount time Darrick J. Wong
2023-12-31 23:32   ` [PATCH 11/58] xfs: convert metadata inode lookup keys to use paths Darrick J. Wong
2023-12-31 23:32   ` [PATCH 12/58] xfs: enforce metadata inode flag Darrick J. Wong
2023-12-31 23:32   ` [PATCH 13/58] xfs: allow deletion of metadata directory files Darrick J. Wong
2023-12-31 23:33   ` [PATCH 14/58] xfs: read and write metadata inode directory Darrick J. Wong
2023-12-31 23:33   ` [PATCH 15/58] xfs: ensure metadata directory paths exist before creating files Darrick J. Wong
2023-12-31 23:33   ` [PATCH 16/58] xfs: disable the agi rotor for metadata inodes Darrick J. Wong
2023-12-31 23:34   ` [PATCH 17/58] xfs: advertise metadata directory feature Darrick J. Wong
2023-12-31 23:34   ` [PATCH 18/58] xfs: allow bulkstat to return metadata directories Darrick J. Wong
2023-12-31 23:34   ` [PATCH 19/58] xfs: enable creation of dynamically allocated metadir path structures Darrick J. Wong
2023-12-31 23:34   ` [PATCH 20/58] xfs: adjust xfs_bmap_add_attrfork for metadir Darrick J. Wong
2023-12-31 23:35   ` [PATCH 21/58] xfs: record health problems with the metadata directory Darrick J. Wong
2023-12-31 23:35   ` [PATCH 22/58] xfs: check metadata directory file path connectivity Darrick J. Wong
2023-12-31 23:35   ` [PATCH 23/58] libfrog: report metadata directories in the geometry report Darrick J. Wong
2023-12-31 23:35   ` [PATCH 24/58] libfrog: allow METADIR in xfrog_bulkstat_single5 Darrick J. Wong
2023-12-31 23:36   ` [PATCH 25/58] xfs_io: support scrubbing metadata directory paths Darrick J. Wong
2023-12-31 23:36   ` [PATCH 26/58] xfs_db: basic xfs_check support for metadir Darrick J. Wong
2023-12-31 23:36   ` [PATCH 27/58] xfs_db: report metadir support for version command Darrick J. Wong
2023-12-31 23:36   ` [PATCH 28/58] xfs_db: don't obfuscate metadata directories and attributes Darrick J. Wong
2023-12-31 23:37   ` [PATCH 29/58] xfs_db: support metadata directories in the path command Darrick J. Wong
2023-12-31 23:37   ` [PATCH 30/58] xfs_db: mask superblock fields when metadir feature is enabled Darrick J. Wong
2023-12-31 23:37   ` [PATCH 31/58] xfs_io: support the bulkstat metadata directory flag Darrick J. Wong
2023-12-31 23:37   ` [PATCH 32/58] xfs_io: support scrubbing metadata directory paths Darrick J. Wong
2023-12-31 23:38   ` [PATCH 33/58] xfs_spaceman: report health of metadir inodes too Darrick J. Wong
2023-12-31 23:38   ` [PATCH 34/58] xfs_scrub: scan metadata directories during phase 3 Darrick J. Wong
2023-12-31 23:38   ` [PATCH 35/58] xfs_scrub: re-run metafile scrubbers during phase 5 Darrick J. Wong
2023-12-31 23:38   ` [PATCH 36/58] xfs_repair: don't zero the incore secondary super when zeroing Darrick J. Wong
2023-12-31 23:39   ` [PATCH 37/58] xfs_repair: refactor metadata inode tagging Darrick J. Wong
2023-12-31 23:39   ` [PATCH 38/58] xfs_repair: reject regular directory dirents that point to metadata fieles Darrick J. Wong
2023-12-31 23:39   ` [PATCH 39/58] xfs_repair: dont check metadata directory dirent inumbers Darrick J. Wong
2023-12-31 23:40   ` [PATCH 40/58] xfs_repair: refactor fixing dotdot Darrick J. Wong
2023-12-31 23:40   ` [PATCH 41/58] xfs_repair: refactor marking of metadata inodes Darrick J. Wong
2023-12-31 23:40   ` [PATCH 42/58] xfs_repair: refactor root directory initialization Darrick J. Wong
2023-12-31 23:40   ` [PATCH 43/58] xfs_repair: refactor grabbing realtime metadata inodes Darrick J. Wong
2023-12-31 23:41   ` [PATCH 44/58] xfs_repair: check metadata inode flag Darrick J. Wong
2023-12-31 23:41   ` [PATCH 45/58] xfs_repair: rebuild the metadata directory Darrick J. Wong
2023-12-31 23:41   ` [PATCH 46/58] xfs_repair: don't let metadata and regular files mix Darrick J. Wong
2023-12-31 23:41   ` [PATCH 47/58] xfs_repair: update incore metadata state whenever we create new files Darrick J. Wong
2023-12-31 23:42   ` [PATCH 48/58] xfs_repair: pass private data pointer to scan_lbtree Darrick J. Wong
2023-12-31 23:42   ` [PATCH 49/58] xfs_repair: mark space used by metadata files Darrick J. Wong
2023-12-31 23:42   ` [PATCH 50/58] xfs_repair: adjust keep_fsinos to handle metadata directories Darrick J. Wong
2023-12-31 23:42   ` [PATCH 51/58] xfs_repair: metadata dirs are never plausible root dirs Darrick J. Wong
2023-12-31 23:43   ` [PATCH 52/58] xfs_repair: reattach quota inodes to metadata directory Darrick J. Wong
2023-12-31 23:43   ` [PATCH 53/58] xfs_repair: drop all the metadata directory files during pass 4 Darrick J. Wong
2023-12-31 23:43   ` [PATCH 54/58] xfs_repair: truncate and unmark orphaned metadata inodes Darrick J. Wong
2023-12-31 23:43   ` [PATCH 55/58] xfs_repair: do not count metadata directory files when doing quotacheck Darrick J. Wong
2023-12-31 23:44   ` [PATCH 56/58] xfs_repair: allow sysadmins to add metadata directories Darrick J. Wong
2023-12-31 23:44   ` [PATCH 57/58] mkfs.xfs: enable " Darrick J. Wong
2023-12-31 23:44   ` [PATCH 58/58] mkfs: add a utility to generate protofiles Darrick J. Wong
2023-12-31 19:52 ` [PATCHSET v2.0 03/17] xfs_db: debug realtime geometry Darrick J. Wong
2023-12-31 23:44   ` [PATCH 1/8] xfs_db: support passing the realtime device to the debugger Darrick J. Wong
2023-12-31 23:45   ` [PATCH 2/8] xfs_db: report the realtime device when associated with each io cursor Darrick J. Wong
2023-12-31 23:45   ` [PATCH 3/8] xfs_db: make the daddr command target the realtime device Darrick J. Wong
2023-12-31 23:45   ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2023-12-31 23:46   ` [PATCH 5/8] xfs_db: access arbitrary realtime blocks and extents Darrick J. Wong
2023-12-31 23:46   ` [PATCH 6/8] xfs_db: enable conversion of rt space units Darrick J. Wong
2023-12-31 23:46   ` [PATCH 7/8] xfs_db: convert rtbitmap geometry Darrick J. Wong
2023-12-31 23:46   ` [PATCH 8/8] xfs_db: convert rtsummary geometry Darrick J. Wong
2023-12-31 19:52 ` [PATCHSET v2.0 04/17] xfs_metadump: support external devices Darrick J. Wong
2023-12-31 23:47   ` [PATCH 1/1] xfs_db: allow setting current address to log blocks Darrick J. Wong
2023-12-31 19:52 ` [PATCHSET v2.0 05/17] xfsprogs: refactor realtime meta inode locking Darrick J. Wong
2023-12-31 23:47   ` [PATCH 1/2] xfs: refactor realtime " Darrick J. Wong
2023-12-31 23:47   ` [PATCH 2/2] xfs: remove XFS_ILOCK_RT* Darrick J. Wong
2023-12-31 19:53 ` [PATCHSET v2.0 06/17] xfsprogs: shard the realtime section Darrick J. Wong
2023-12-27 13:00   ` [PATCH 48/52] xfs_scrub: trim realtime volumes too Darrick J. Wong
2023-12-27 13:00   ` [PATCH 49/52] xfs_scrub: use histograms to speed up phase 8 on the realtime volume Darrick J. Wong
2023-12-27 13:00   ` [PATCH 50/52] mkfs: add headers to realtime bitmap blocks Darrick J. Wong
2023-12-27 13:00   ` [PATCH 51/52] mkfs: add headers to realtime summary blocks Darrick J. Wong
2023-12-27 13:01   ` [PATCH 52/52] mkfs: format realtime groups Darrick J. Wong
2023-12-31 23:47   ` [PATCH 01/52] xfs: create incore realtime group structures Darrick J. Wong
2023-12-31 23:48   ` [PATCH 02/52] xfs: define the format of rt groups Darrick J. Wong
2023-12-31 23:48   ` [PATCH 03/52] xfs: reduce rt summary file levels for rtgroups filesystems Darrick J. Wong
2023-12-31 23:48   ` [PATCH 04/52] xfs: update primary realtime super every time we update the primary fs super Darrick J. Wong
2023-12-31 23:48   ` [PATCH 05/52] xfs: write secondary realtime superblocks to disk Darrick J. Wong
2023-12-31 23:49   ` [PATCH 06/52] xfs: grow the realtime section when realtime groups are enabled Darrick J. Wong
2023-12-31 23:49   ` [PATCH 07/52] xfs: export realtime group geometry via XFS_FSOP_GEOM Darrick J. Wong
2023-12-31 23:49   ` [PATCH 08/52] xfs: check that rtblock extents do not overlap with the rt group metadata Darrick J. Wong
2023-12-31 23:49   ` [PATCH 09/52] xfs: add frextents to the lazysbcounters when rtgroups enabled Darrick J. Wong
2023-12-31 23:50   ` [PATCH 10/52] xfs: record rt group superblock errors in the health system Darrick J. Wong
2023-12-31 23:50   ` [PATCH 11/52] xfs: define locking primitives for realtime groups Darrick J. Wong
2023-12-31 23:50   ` [PATCH 12/52] xfs: export the geometry of realtime groups to userspace Darrick J. Wong
2023-12-31 23:50   ` [PATCH 13/52] xfs: add block headers to realtime bitmap blocks Darrick J. Wong
2023-12-31 23:51   ` [PATCH 14/52] xfs: encode the rtbitmap in little endian format Darrick J. Wong
2023-12-31 23:51   ` [PATCH 15/52] xfs: add block headers to realtime summary blocks Darrick J. Wong
2023-12-31 23:51   ` [PATCH 16/52] xfs: encode the rtsummary in big endian format Darrick J. Wong
2023-12-31 23:51   ` [PATCH 17/52] xfs: store rtgroup information with a bmap intent Darrick J. Wong
2023-12-31 23:52   ` [PATCH 18/52] xfs: use an incore rtgroup rotor for rtpick Darrick J. Wong
2023-12-31 23:52   ` [PATCH 19/52] xfs: scrub the realtime group superblock Darrick J. Wong
2023-12-31 23:52   ` [PATCH 20/52] xfs: repair secondary realtime group superblocks Darrick J. Wong
2023-12-31 23:53   ` [PATCH 21/52] xfs: scrub each rtgroup's portion of the rtbitmap separately Darrick J. Wong
2023-12-31 23:53   ` [PATCH 22/52] libfrog: report rt groups in output Darrick J. Wong
2023-12-31 23:53   ` [PATCH 23/52] libxfs: implement some sanity checking for enormous rgcount Darrick J. Wong
2023-12-31 23:53   ` [PATCH 24/52] xfs_repair: support realtime groups Darrick J. Wong
2023-12-31 23:54   ` [PATCH 25/52] xfs_repair: improve rtbitmap discrepancy reporting Darrick J. Wong
2023-12-31 23:54   ` [PATCH 26/52] xfs_repair: repair rtbitmap block headers Darrick J. Wong
2023-12-31 23:54   ` [PATCH 27/52] xfs_repair: repair rtsummary " Darrick J. Wong
2023-12-31 23:54   ` [PATCH 28/52] xfs_repair: support adding rtgroups to a filesystem Darrick J. Wong
2023-12-31 23:55   ` [PATCH 29/52] xfs_db: listify the definition of enum typnm Darrick J. Wong
2023-12-31 23:55   ` [PATCH 30/52] xfs_db: support dumping realtime superblocks Darrick J. Wong
2023-12-31 23:55   ` [PATCH 31/52] xfs_db: support changing the label and uuid of rt superblocks Darrick J. Wong
2023-12-31 23:55   ` [PATCH 32/52] xfs_db: listify the definition of dbm_t Darrick J. Wong
2023-12-31 23:56   ` [PATCH 33/52] xfs_db: implement check for rt superblocks Darrick J. Wong
2023-12-31 23:56   ` [PATCH 34/52] xfs_db: enable conversion of rt space units Darrick J. Wong
2023-12-31 23:56   ` [PATCH 35/52] xfs_db: report rtgroups via version command Darrick J. Wong
2023-12-31 23:56   ` [PATCH 36/52] xfs_db: metadump realtime devices Darrick J. Wong
2023-12-31 23:57   ` [PATCH 37/52] xfs_db: dump rt bitmap blocks Darrick J. Wong
2023-12-31 23:57   ` [PATCH 38/52] xfs_db: dump rt summary blocks Darrick J. Wong
2023-12-31 23:57   ` [PATCH 39/52] xfs_mdrestore: restore rt group superblocks to realtime device Darrick J. Wong
2023-12-31 23:57   ` [PATCH 40/52] xfs_io: support scrubbing rtgroup metadata Darrick J. Wong
2023-12-31 23:58   ` [PATCH 41/52] xfs_io: add a command to display allocation group information Darrick J. Wong
2023-12-31 23:58   ` [PATCH 42/52] xfs_io: add a command to display realtime " Darrick J. Wong
2023-12-31 23:58   ` [PATCH 43/52] xfs_io: display rt group in verbose bmap output Darrick J. Wong
2023-12-31 23:59   ` [PATCH 44/52] xfs_io: display rt group in verbose fsmap output Darrick J. Wong
2023-12-31 23:59   ` [PATCH 45/52] xfs_spaceman: report on realtime group health Darrick J. Wong
2023-12-31 23:59   ` [PATCH 46/52] xfs_scrub: scrub realtime allocation group metadata Darrick J. Wong
2023-12-31 23:59   ` [PATCH 47/52] xfs_scrub: call GETFSMAP for each rt group in parallel Darrick J. Wong
2023-12-31 19:53 ` [PATCHSET v2.0 07/17] xfsprogs: refactor btrees to support records in inode root Darrick J. Wong
2023-12-27 13:01   ` [PATCH 01/14] xfs: replace shouty XFS_BM{BT,DR} macros Darrick J. Wong
2023-12-27 13:01   ` [PATCH 02/14] xfs: refactor the allocation and freeing of incore inode fork btree roots Darrick J. Wong
2023-12-27 13:01   ` [PATCH 03/14] xfs: refactor creation of bmap " Darrick J. Wong
2023-12-27 13:02   ` [PATCH 04/14] xfs: fix a sloppy memory handling bug in xfs_iroot_realloc Darrick J. Wong
2023-12-27 13:02   ` [PATCH 05/14] xfs: hoist the code that moves the incore inode fork broot memory Darrick J. Wong
2023-12-27 13:02   ` [PATCH 06/14] xfs: move the zero records logic into xfs_bmap_broot_space_calc Darrick J. Wong
2023-12-27 13:02   ` [PATCH 07/14] xfs: rearrange xfs_iroot_realloc a bit Darrick J. Wong
2023-12-27 13:03   ` [PATCH 08/14] xfs: standardize the btree maxrecs function parameters Darrick J. Wong
2023-12-27 13:03   ` [PATCH 09/14] xfs: generalize the btree root reallocation function Darrick J. Wong
2023-12-27 13:03   ` [PATCH 10/14] xfs: support leaves in the incore btree root block in xfs_iroot_realloc Darrick J. Wong
2023-12-27 13:03   ` [PATCH 11/14] xfs: hoist the node iroot update code out of xfs_btree_new_iroot Darrick J. Wong
2023-12-27 13:04   ` [PATCH 12/14] xfs: hoist the node iroot update code out of xfs_btree_kill_iroot Darrick J. Wong
2023-12-27 13:04   ` [PATCH 13/14] xfs: support storing records in the inode core root Darrick J. Wong
2023-12-27 13:04   ` [PATCH 14/14] xfs: update btree keys correctly when _insrec splits an inode root block Darrick J. Wong
2023-12-31 19:53 ` [PATCHSET v2.0 08/17] xfsprogs: enable in-core block reservation for rt metadata Darrick J. Wong
2023-12-27 13:05   ` [PATCH 1/2] xfs: simplify xfs_ag_resv_free signature Darrick J. Wong
2023-12-27 13:05   ` [PATCH 2/2] xfs: allow inode-based btrees to reserve space in the data device Darrick J. Wong
2023-12-31 19:54 ` [PATCHSET v2.0 09/17] xfsprogs: extent free log intent cleanups Darrick J. Wong
2023-12-27 13:05   ` [PATCH 1/8] xfs: clean up extent free log intent item tracepoint callsites Darrick J. Wong
2023-12-27 13:05   ` [PATCH 2/8] xfs: convert "skip_discard" to a proper flags bitset Darrick J. Wong
2023-12-27 13:06   ` [PATCH 3/8] xfs: pass the fsbno to xfs_perag_intent_get Darrick J. Wong
2023-12-27 13:06   ` [PATCH 4/8] xfs: add a xefi_entry helper Darrick J. Wong
2023-12-27 13:06   ` [PATCH 5/8] xfs: reuse xfs_extent_free_cancel_item Darrick J. Wong
2023-12-27 13:06   ` [PATCH 6/8] xfs: remove duplicate asserts in xfs_defer_extent_free Darrick J. Wong
2023-12-27 13:07   ` [PATCH 7/8] xfs: remove xfs_defer_agfl_block Darrick J. Wong
2023-12-27 13:07   ` [PATCH 8/8] xfs: move xfs_extent_free_defer_add to xfs_extfree_item.c Darrick J. Wong
2023-12-31 19:54 ` [PATCHSET v2.0 10/17] xfsprogs: widen EFI format to support rt Darrick J. Wong
2023-12-27 13:07   ` [PATCH 1/3] xfs: support logging EFIs for realtime extents Darrick J. Wong
2023-12-27 13:07   ` [PATCH 2/3] xfs: support error injection when freeing rt extents Darrick J. Wong
2023-12-27 13:08   ` [PATCH 3/3] xfs_logprint: report realtime EFIs Darrick J. Wong
2023-12-31 19:54 ` [PATCHSET v2.0 11/17] xfsprogs: rmap log intent cleanups Darrick J. Wong
2023-12-27 13:08   ` [PATCH 1/9] xfs: attach rtgroup objects to btree cursors Darrick J. Wong
2023-12-27 13:08   ` [PATCH 2/9] xfs: give rmap btree cursor error tracepoints their own class Darrick J. Wong
2023-12-27 13:08   ` [PATCH 3/9] xfs: prepare rmap btree tracepoints for widening Darrick J. Wong
2023-12-27 13:09   ` [PATCH 4/9] xfs: clean up rmap log intent item tracepoint callsites Darrick J. Wong
2023-12-27 13:09   ` [PATCH 5/9] xfs: add a ri_entry helper Darrick J. Wong
2023-12-27 13:09   ` [PATCH 6/9] xfs: reuse xfs_rmap_update_cancel_item Darrick J. Wong
2023-12-27 13:09   ` [PATCH 7/9] xfs: don't bother calling xfs_rmap_finish_one_cleanup in xfs_rmap_finish_one Darrick J. Wong
2023-12-27 13:10   ` [PATCH 8/9] xfs: simplify usage of the rcur local variable " Darrick J. Wong
2023-12-27 13:10   ` [PATCH 9/9] xfs: move xfs_rmap_update_defer_add to xfs_rmap_item.c Darrick J. Wong
2023-12-31 19:54 ` [PATCHSET v2.0 12/17] xfsprogs: realtime reverse-mapping support Darrick J. Wong
2023-12-27 13:10   ` [PATCH 01/47] xfs: simplify the xfs_rmap_{alloc,free}_extent calling conventions Darrick J. Wong
2023-12-27 13:11   ` [PATCH 02/47] xfs: introduce realtime rmap btree definitions Darrick J. Wong
2023-12-27 13:11   ` [PATCH 03/47] xfs: define the on-disk realtime rmap btree format Darrick J. Wong
2023-12-27 13:11   ` [PATCH 04/47] xfs: realtime rmap btree transaction reservations Darrick J. Wong
2023-12-27 13:11   ` [PATCH 05/47] xfs: add realtime rmap btree operations Darrick J. Wong
2023-12-27 13:12   ` [PATCH 06/47] xfs: prepare rmap functions to deal with rtrmapbt Darrick J. Wong
2023-12-27 13:12   ` [PATCH 07/47] xfs: add a realtime flag to the rmap update log redo items Darrick J. Wong
2023-12-27 13:12   ` [PATCH 08/47] xfs: add realtime reverse map inode to metadata directory Darrick J. Wong
2023-12-27 13:12   ` [PATCH 09/47] xfs: add metadata reservations for realtime rmap btrees Darrick J. Wong
2023-12-27 13:13   ` [PATCH 10/47] xfs: wire up a new inode fork type for the realtime rmap Darrick J. Wong
2023-12-27 13:13   ` [PATCH 11/47] xfs: allow inodes with zero extents but nonzero nblocks Darrick J. Wong
2023-12-27 13:13   ` [PATCH 12/47] xfs: use realtime EFI to free extents when realtime rmap is enabled Darrick J. Wong
2023-12-27 13:13   ` [PATCH 13/47] xfs: wire up rmap map and unmap to the realtime rmapbt Darrick J. Wong
2023-12-27 13:14   ` [PATCH 14/47] xfs: create routine to allocate and initialize a realtime rmap btree inode Darrick J. Wong
2023-12-27 13:14   ` [PATCH 15/47] xfs: report realtime rmap btree corruption errors to the health system Darrick J. Wong
2023-12-27 13:14   ` [PATCH 16/47] xfs: allow queued realtime intents to drain before scrubbing Darrick J. Wong
2023-12-27 13:14   ` [PATCH 17/47] xfs: scrub the realtime rmapbt Darrick J. Wong
2023-12-27 13:15   ` [PATCH 18/47] xfs: scrub the metadir path of rt rmap btree files Darrick J. Wong
2023-12-27 13:15   ` [PATCH 19/47] xfs: online repair of the realtime rmap btree Darrick J. Wong
2023-12-27 13:15   ` [PATCH 20/47] xfs: create a shadow rmap btree during realtime rmap repair Darrick J. Wong
2023-12-27 13:15   ` [PATCH 21/47] xfs: hook live realtime rmap operations during a repair operation Darrick J. Wong
2023-12-27 13:16   ` [PATCH 22/47] xfs_db: display the realtime rmap btree contents Darrick J. Wong
2023-12-27 13:16   ` [PATCH 23/47] xfs_db: support the realtime rmapbt Darrick J. Wong
2023-12-27 13:16   ` [PATCH 24/47] xfs_db: support rudimentary checks of the rtrmap btree Darrick J. Wong
2023-12-27 13:17   ` [PATCH 25/47] xfs_db: copy the realtime rmap btree Darrick J. Wong
2023-12-27 13:17   ` [PATCH 26/47] xfs_db: make fsmap query the realtime reverse mapping tree Darrick J. Wong
2023-12-27 13:17   ` [PATCH 27/47] xfs_io: support scrubbing rtgroup metadata paths Darrick J. Wong
2023-12-27 13:17   ` [PATCH 28/47] libfrog: enable scrubbng of the realtime rmap Darrick J. Wong
2023-12-27 13:18   ` [PATCH 29/47] xfs_scrub: check rtrmapbt metadata directory connections Darrick J. Wong
2023-12-27 13:18   ` [PATCH 30/47] xfs_scrub: retest metadata across scrub groups after a repair Darrick J. Wong
2023-12-27 13:18   ` [PATCH 31/47] xfs_spaceman: report health status of the realtime rmap btree Darrick J. Wong
2023-12-27 13:18   ` [PATCH 32/47] libxfs: dirty buffers should be marked uptodate too Darrick J. Wong
2023-12-27 13:19   ` [PATCH 33/47] xfs_repair: flag suspect long-format btree blocks Darrick J. Wong
2023-12-27 13:19   ` [PATCH 34/47] xfs_repair: use realtime rmap btree data to check block types Darrick J. Wong
2023-12-27 13:19   ` [PATCH 35/47] xfs_repair: create a new set of incore rmap information for rt groups Darrick J. Wong
2023-12-27 13:19   ` [PATCH 36/47] xfs_repair: collect relatime reverse-mapping data for refcount/rmap tree rebuilding Darrick J. Wong
2023-12-27 13:20   ` [PATCH 37/47] xfs_repair: refactor realtime inode check Darrick J. Wong
2023-12-27 13:20   ` [PATCH 38/47] xfs_repair: find and mark the rtrmapbt inodes Darrick J. Wong
2023-12-27 13:20   ` [PATCH 39/47] xfs_repair: check existing realtime rmapbt entries against observed rmaps Darrick J. Wong
2023-12-27 13:20   ` [PATCH 40/47] xfs_repair: always check realtime file mappings against incore info Darrick J. Wong
2023-12-27 13:21   ` [PATCH 41/47] xfs_repair: rebuild the realtime rmap btree Darrick J. Wong
2023-12-27 13:21   ` [PATCH 42/47] xfs_repair: check for global free space concerns with default btree slack levels Darrick J. Wong
2023-12-27 13:21   ` [PATCH 43/47] xfs_repair: rebuild the bmap btree for realtime files Darrick J. Wong
2023-12-27 13:21   ` [PATCH 44/47] xfs_repair: reserve per-AG space while rebuilding rt metadata Darrick J. Wong
2023-12-27 13:22   ` [PATCH 45/47] xfs_repair: allow sysadmins to add realtime reverse mapping indexes Darrick J. Wong
2023-12-27 13:22   ` [PATCH 46/47] xfs_logprint: report realtime RUIs Darrick J. Wong
2023-12-27 13:22   ` [PATCH 47/47] mkfs: create the realtime rmap inode Darrick J. Wong
2023-12-31 19:55 ` [PATCHSET v2.0 13/17] xfsprogs: file write utility refactoring Darrick J. Wong
2023-12-27 13:23   ` [PATCH 1/4] libxfs: resync libxfs_alloc_file_space interface with the kernel Darrick J. Wong
2023-12-27 13:23   ` [PATCH 2/4] mkfs: use libxfs_alloc_file_space for rtinit Darrick J. Wong
2023-12-27 13:23   ` [PATCH 3/4] xfs_repair: use libxfs_alloc_file_space to reallocate rt metadata Darrick J. Wong
2023-12-27 13:23   ` [PATCH 4/4] mkfs: use file write helper to populate files Darrick J. Wong
2023-12-31 19:55 ` [PATCHSET v2.0 14/17] xfsprogs: refcount log intent cleanups Darrick J. Wong
2023-12-27 13:24   ` [PATCH 1/9] xfs: give refcount btree cursor error tracepoints their own class Darrick J. Wong
2023-12-27 13:24   ` [PATCH 2/9] xfs: create specialized classes for refcount tracepoints Darrick J. Wong
2023-12-27 13:24   ` [PATCH 3/9] xfs: prepare refcount btree tracepoints for widening Darrick J. Wong
2023-12-27 13:24   ` [PATCH 4/9] xfs: clean up refcount log intent item tracepoint callsites Darrick J. Wong
2023-12-27 13:25   ` [PATCH 5/9] xfs: add a ci_entry helper Darrick J. Wong
2023-12-27 13:25   ` [PATCH 6/9] xfs: reuse xfs_refcount_update_cancel_item Darrick J. Wong
2023-12-27 13:25   ` [PATCH 7/9] xfs: don't bother calling xfs_refcount_finish_one_cleanup in xfs_refcount_finish_one Darrick J. Wong
2023-12-27 13:25   ` [PATCH 8/9] xfs: simplify usage of the rcur local variable " Darrick J. Wong
2023-12-27 13:26   ` [PATCH 9/9] xfs: move xfs_refcount_update_defer_add to xfs_refcount_item.c Darrick J. Wong
2023-12-31 19:55 ` [PATCHSET v2.0 15/17] xfsprogs: reflink on the realtime device Darrick J. Wong
2023-12-27 13:26   ` [PATCH 01/42] xfs: introduce realtime refcount btree definitions Darrick J. Wong
2023-12-27 13:26   ` [PATCH 02/42] xfs: namespace the maximum length/refcount symbols Darrick J. Wong
2023-12-27 13:26   ` [PATCH 03/42] xfs: define the on-disk realtime refcount btree format Darrick J. Wong
2023-12-27 13:27   ` [PATCH 04/42] xfs: realtime refcount btree transaction reservations Darrick J. Wong
2023-12-27 13:27   ` [PATCH 05/42] xfs: add realtime refcount btree operations Darrick J. Wong
2023-12-27 13:27   ` [PATCH 06/42] xfs: prepare refcount functions to deal with rtrefcountbt Darrick J. Wong
2023-12-27 13:27   ` [PATCH 07/42] xfs: add a realtime flag to the refcount update log redo items Darrick J. Wong
2023-12-27 13:28   ` [PATCH 08/42] xfs: add realtime refcount btree inode to metadata directory Darrick J. Wong
2023-12-27 13:28   ` [PATCH 09/42] xfs: add metadata reservations for realtime refcount btree Darrick J. Wong
2023-12-27 13:28   ` [PATCH 10/42] xfs: wire up a new inode fork type for the realtime refcount Darrick J. Wong
2023-12-27 13:29   ` [PATCH 11/42] xfs: wire up realtime refcount btree cursors Darrick J. Wong
2023-12-27 13:29   ` [PATCH 12/42] xfs: create routine to allocate and initialize a realtime refcount btree inode Darrick J. Wong
2023-12-27 13:29   ` [PATCH 13/42] xfs: update rmap to allow cow staging extents in the rt rmap Darrick J. Wong
2023-12-27 13:29   ` [PATCH 14/42] xfs: compute rtrmap btree max levels when reflink enabled Darrick J. Wong
2023-12-27 13:30   ` [PATCH 15/42] xfs: allow inodes to have the realtime and reflink flags Darrick J. Wong
2023-12-27 13:30   ` [PATCH 16/42] xfs: refcover CoW leftovers in the realtime volume Darrick J. Wong
2023-12-27 13:30   ` [PATCH 17/42] xfs: fix xfs_get_extsz_hint behavior with realtime alwayscow files Darrick J. Wong
2023-12-27 13:30   ` [PATCH 18/42] xfs: apply rt extent alignment constraints to CoW extsize hint Darrick J. Wong
2023-12-27 13:31   ` [PATCH 19/42] xfs: enable extent size hints for CoW operations Darrick J. Wong
2023-12-27 13:31   ` [PATCH 20/42] xfs: report realtime refcount btree corruption errors to the health system Darrick J. Wong
2023-12-27 13:31   ` [PATCH 21/42] xfs: scrub the realtime refcount btree Darrick J. Wong
2023-12-27 13:31   ` [PATCH 22/42] xfs: scrub the metadir path of rt refcount btree files Darrick J. Wong
2023-12-27 13:32   ` [PATCH 23/42] libfrog: enable scrubbing of the realtime refcount data Darrick J. Wong
2023-12-27 13:32   ` [PATCH 24/42] xfs_db: display the realtime refcount btree contents Darrick J. Wong
2023-12-27 13:32   ` [PATCH 25/42] xfs_db: support the realtime refcountbt Darrick J. Wong
2023-12-27 13:32   ` [PATCH 26/42] xfs_db: widen block type mask to 64 bits Darrick J. Wong
2023-12-27 13:33   ` [PATCH 27/42] xfs_db: support rudimentary checks of the rtrefcount btree Darrick J. Wong
2023-12-27 13:33   ` [PATCH 28/42] xfs_db: copy the realtime refcount btree Darrick J. Wong
2023-12-27 13:33   ` [PATCH 29/42] xfs_spaceman: report health of " Darrick J. Wong
2023-12-27 13:33   ` [PATCH 30/42] xfs_repair: allow CoW staging extents in the realtime rmap records Darrick J. Wong
2023-12-27 13:34   ` [PATCH 31/42] xfs_repair: use realtime refcount btree data to check block types Darrick J. Wong
2023-12-27 13:34   ` [PATCH 32/42] xfs_repair: find and mark the rtrefcountbt inode Darrick J. Wong
2023-12-27 13:34   ` [PATCH 33/42] xfs_repair: compute refcount data for the realtime groups Darrick J. Wong
2023-12-27 13:35   ` [PATCH 34/42] xfs_repair: check existing realtime refcountbt entries against observed refcounts Darrick J. Wong
2023-12-27 13:35   ` [PATCH 35/42] xfs_repair: reject unwritten shared extents Darrick J. Wong
2023-12-27 13:35   ` [PATCH 36/42] xfs_repair: rebuild the realtime refcount btree Darrick J. Wong
2023-12-27 13:35   ` [PATCH 37/42] xfs_repair: allow realtime files to have the reflink flag set Darrick J. Wong
2023-12-27 13:36   ` [PATCH 38/42] xfs_repair: validate CoW extent size hint on rtinherit directories Darrick J. Wong
2023-12-27 13:36   ` [PATCH 39/42] xfs_repair: allow sysadmins to add realtime reflink Darrick J. Wong
2023-12-27 13:36   ` [PATCH 40/42] xfs_logprint: report realtime CUIs Darrick J. Wong
2023-12-27 13:36   ` [PATCH 41/42] mkfs: validate CoW extent size hint when rtinherit is set Darrick J. Wong
2023-12-27 13:37   ` [PATCH 42/42] mkfs: enable reflink on the realtime device Darrick J. Wong
2023-12-31 19:55 ` [PATCHSET v2.0 16/17] xfsprogs: reflink with large realtime extents Darrick J. Wong
2023-12-27 13:37   ` [PATCH 1/3] xfs: enable extent size hints for CoW when rtextsize > 1 Darrick J. Wong
2023-12-27 13:37   ` [PATCH 2/3] xfs: fix integer overflow when validating extent size hints Darrick J. Wong
2023-12-27 13:37   ` [PATCH 3/3] mkfs: enable reflink with realtime extent sizes > 1 Darrick J. Wong
2023-12-31 19:56 ` [PATCHSET v2.0 17/17] xfsprogs: enable quota for realtime voluems Darrick J. Wong
2023-12-27 13:38   ` [PATCH 1/1] xfs_quota: report warning limits for realtime space quotas Darrick J. Wong
2023-12-31 20:00 ` [PATCHSET v2.0 1/9] fstests: test XFS metadata directories Darrick J. Wong
2023-12-27 13:50   ` [PATCH 01/11] xfs/122: fix metadirino Darrick J. Wong
2023-12-27 13:50   ` [PATCH 02/11] various: fix finding metadata inode numbers when metadir is enabled Darrick J. Wong
2023-12-27 13:50   ` [PATCH 03/11] xfs/{030,033,178}: forcibly disable metadata directory trees Darrick J. Wong
2023-12-27 13:50   ` [PATCH 04/11] common/repair: patch up repair sb inode value complaints Darrick J. Wong
2023-12-27 13:51   ` [PATCH 05/11] xfs/206: update for metadata directory support Darrick J. Wong
2023-12-27 13:51   ` [PATCH 06/11] xfs/{050,144,153,299,330}: update quota reports to handle metadir trees Darrick J. Wong
2023-12-27 13:51   ` [PATCH 07/11] xfs/856: add metadir upgrade to test matrix Darrick J. Wong
2023-12-27 13:51   ` [PATCH 08/11] xfs/509: adjust inumbers accounting for metadata directories Darrick J. Wong
2023-12-27 13:52   ` [PATCH 09/11] xfs: create fuzz tests " Darrick J. Wong
2023-12-27 13:52   ` [PATCH 10/11] xfs: baseline golden output for metadata directory fuzz tests Darrick J. Wong
2023-12-27 13:52   ` [PATCH 11/11] xfs: test metapath repairs Darrick J. Wong
2023-12-31 20:00 ` [PATCHSET v2.0 2/9] xfsprogs: shard the realtime section Darrick J. Wong
2023-12-27 13:53   ` [PATCH 01/17] common/populate: refactor caching of metadumps to a helper Darrick J. Wong
2023-12-27 13:53   ` [PATCH 02/17] common/xfs: wipe external logs during mdrestore operations Darrick J. Wong
2023-12-27 13:53   ` [PATCH 03/17] common/ext4: reformat " Darrick J. Wong
2023-12-27 13:53   ` [PATCH 04/17] xfs: use metadump v2 format by default Darrick J. Wong
2023-12-27 13:54   ` [PATCH 05/17] common/xfs: capture external logs during metadump/mdrestore Darrick J. Wong
2023-12-27 13:54   ` [PATCH 06/17] xfs/122: update for rtgroups Darrick J. Wong
2023-12-27 13:54   ` [PATCH 07/17] punch-alternating: detect xfs realtime files with large allocation units Darrick J. Wong
2023-12-27 13:54   ` [PATCH 08/17] xfs/206: update mkfs filtering for rt groups feature Darrick J. Wong
2023-12-27 13:55   ` [PATCH 09/17] common: pass the realtime device to xfs_db when possible Darrick J. Wong
2023-12-27 13:55   ` [PATCH 10/17] common: filter rtgroups when we're disabling metadir Darrick J. Wong
2023-12-27 13:55   ` [PATCH 11/17] xfs/185: update for rtgroups Darrick J. Wong
2023-12-27 13:55   ` [PATCH 12/17] xfs/449: update test to know about xfs_db -R Darrick J. Wong
2023-12-27 13:56   ` [PATCH 13/17] xfs/122: update for rtbitmap headers Darrick J. Wong
2023-12-27 13:56   ` [PATCH 14/17] xfs/122: udpate test to pick up rtword/suminfo ondisk unions Darrick J. Wong
2023-12-27 13:56   ` [PATCH 15/17] xfs/27[46],xfs/556: fix tests to deal with rtgroups output in bmap/fsmap commands Darrick J. Wong
2023-12-27 13:56   ` [PATCH 16/17] common/xfs: capture realtime devices during metadump/mdrestore Darrick J. Wong
2023-12-27 13:57   ` [PATCH 17/17] common/fuzzy: adapt the scrub stress tests to support rtgroups Darrick J. Wong
2023-12-31 20:00 ` [PATCHSET v2.0 3/9] fstests: enable FITRIM for the realtime section Darrick J. Wong
2023-12-27 13:57   ` [PATCH 1/2] xfs: refactor statfs field extraction Darrick J. Wong
2023-12-27 13:57   ` [PATCH 2/2] common/xfs: FITRIM now supports realtime volumes Darrick J. Wong
2023-12-31 20:00 ` [PATCHSET v2.0 4/9] fstests: fixes for realtime rmap Darrick J. Wong
2023-12-27 13:57   ` [PATCH 01/13] xfs: fix tests that try to access the realtime rmap inode Darrick J. Wong
2023-12-27 13:58   ` [PATCH 02/13] fuzz: for fuzzing the rtrmapbt, find the path to the rt rmap btree file Darrick J. Wong
2023-12-27 13:58   ` [PATCH 03/13] xfs: race fsstress with realtime rmap btree scrub and repair Darrick J. Wong
2023-12-27 13:58   ` [PATCH 04/13] xfs/856: add rtrmapbt upgrade to test matrix Darrick J. Wong
2023-12-27 13:59   ` [PATCH 05/13] xfs/122: update for rtgroups-based realtime rmap btrees Darrick J. Wong
2023-12-27 13:59   ` [PATCH 06/13] xfs: fix various problems with fsmap detecting the data device Darrick J. Wong
2023-12-27 13:59   ` [PATCH 07/13] xfs/341: update test for rtgroup-based rmap Darrick J. Wong
2023-12-27 13:59   ` [PATCH 08/13] xfs/3{43,32}: adapt tests for rt extent size greater than 1 Darrick J. Wong
2023-12-27 14:00   ` [PATCH 09/13] xfs: skip tests if formatting small filesystem fails Darrick J. Wong
2023-12-27 14:00   ` [PATCH 10/13] xfs/443: use file allocation unit, not dbsize Darrick J. Wong
2023-12-27 14:00   ` [PATCH 11/13] populate: adjust rtrmap calculations for rtgroups Darrick J. Wong
2023-12-27 14:00   ` [PATCH 12/13] populate: check that we created a realtime rmap btree of the given height Darrick J. Wong
2023-12-27 14:01   ` [PATCH 13/13] fuzzy: create missing fuzz tests for rt rmap btrees Darrick J. Wong
2023-12-31 20:01 ` [PATCHSET v2.0 5/9] fstests: establish baseline for realtime rmap fuzz tests Darrick J. Wong
2023-12-27 14:01   ` [PATCH 1/1] fuzzy: create known output for rt rmap btree " Darrick J. Wong
2023-12-31 20:01 ` [PATCHSET v2.0 6/9] fstests: reflink on the realtime device Darrick J. Wong
2023-12-27 14:01   ` [PATCH 1/9] xfs/122: update fields for realtime reflink Darrick J. Wong
2023-12-27 14:01   ` [PATCH 2/9] common/populate: create realtime refcount btree Darrick J. Wong
2023-12-27 14:02   ` [PATCH 3/9] xfs: create fuzz tests for the " Darrick J. Wong
2023-12-27 14:02   ` [PATCH 4/9] xfs/27[24]: adapt for checking files on the realtime volume Darrick J. Wong
2023-12-27 14:02   ` [PATCH 5/9] xfs: race fsstress with realtime refcount btree scrub and repair Darrick J. Wong
2023-12-27 14:02   ` [PATCH 6/9] xfs: remove xfs/131 now that we allow reflink on realtime volumes Darrick J. Wong
2023-12-27 14:03   ` [PATCH 7/9] xfs/856: add rtreflink upgrade to test matrix Darrick J. Wong
2023-12-27 14:03   ` [PATCH 8/9] generic/331,xfs/240: support files that skip delayed allocation Darrick J. Wong
2023-12-27 14:03   ` [PATCH 9/9] common/xfs: fix _xfs_get_file_block_size when rtinherit is set and no rt section Darrick J. Wong
2023-12-31 20:01 ` [PATCHSET v2.0 7/9] fstests: establish baseline for realtime reflink fuzz tests Darrick J. Wong
2023-12-27 14:03   ` [PATCH 1/1] xfs: baseline golden output for rt refcount btree " Darrick J. Wong
2023-12-31 20:01 ` [PATCHSET v2.0 8/9] fstests: reflink with large realtime extents Darrick J. Wong
2023-12-27 14:04   ` [PATCH 1/5] xfs: make sure that CoW will write around when rextsize > 1 Darrick J. Wong
2023-12-27 14:04   ` [PATCH 2/5] xfs: skip cowextsize hint fragmentation tests on realtime volumes Darrick J. Wong
2023-12-27 14:04   ` [PATCH 3/5] misc: add more congruent oplen testing Darrick J. Wong
2023-12-27 14:05   ` [PATCH 4/5] xfs: test COWing entire rt extents Darrick J. Wong
2023-12-27 14:05   ` [PATCH 5/5] generic/303: avoid test failures on weird rt extent sizes Darrick J. Wong
2023-12-31 20:02 ` [PATCHSET v2.0 9/9] fstests: functional tests for rt quota Darrick J. Wong
2023-12-27 14:05   ` [PATCH 1/3] common: enable testing of realtime quota when supported Darrick J. Wong
2023-12-27 14:05   ` [PATCH 2/3] xfs: fix quota tests to adapt to realtime quota Darrick J. Wong
2023-12-27 14:06   ` [PATCH 3/3] xfs: regression testing of quota on the realtime device Darrick J. Wong
2023-12-31 20:03 ` [PATCHSET v2.0 1/4] xfs-documentation: document metadata directories Darrick J. Wong
2023-12-27 14:08   ` [PATCH 1/1] design: document the changes required to handle " Darrick J. Wong
2023-12-31 20:03 ` [PATCHSET v2.0 2/4] xfs-documentation: shard the realtime section Darrick J. Wong
2023-12-27 14:08   ` [PATCH 1/2] design: move discussion of realtime volumes to a separate section Darrick J. Wong
2023-12-27 14:08   ` [PATCH 2/2] design: document realtime groups Darrick J. Wong
2023-12-31 20:04 ` [PATCHSET v2.0 3/4] xfs-documentation: realtime reverse-mapping support Darrick J. Wong
2023-12-27 14:08   ` [PATCH 1/1] design: document the revisions to the realtime rmap formats Darrick J. Wong
2023-12-31 20:04 ` [PATCHSET v2.0 4/4] xfs-documentation: reflink on the realtime device Darrick J. Wong
2023-12-27 14:09   ` [PATCH 1/1] design: document changes for the realtime refcount btree Darrick J. Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=170404852271.1766284.5224402997263588022.stgit@frogsfrogsfrogs \
    --to=djwong@kernel.org \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox