From 586fd4112f3d9675de1c94015cd4f33d8f49c8a1 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Thu, 19 Dec 2024 19:51:06 -0800 Subject: [PATCH] xfs_scrub: support internal RT sections Signed-off-by: Christoph Hellwig --- scrub/phase1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrub/phase1.c b/scrub/phase1.c index d03a9099a..e71cab7b7 100644 --- a/scrub/phase1.c +++ b/scrub/phase1.c @@ -341,7 +341,8 @@ _("Kernel metadata repair facility is not available. Use -n to scrub.")); _("Unable to find log device path.")); return ECANCELED; } - if (ctx->mnt.fsgeom.rtblocks && ctx->fsinfo.fs_rt == NULL) { + if (ctx->mnt.fsgeom.rtblocks && ctx->fsinfo.fs_rt == NULL && + !(ctx->mnt.fsgeom.flags & XFS_FSOP_GEOM_FLAGS_ZONED)) { str_error(ctx, ctx->mntpoint, _("Unable to find realtime device path.")); return ECANCELED; -- 2.50.1