From: Christoph Hellwig Date: Fri, 21 Mar 2025 07:21:37 +0000 (+0100) Subject: xfs: no quota support with internal rtdev X-Git-Tag: v2025.03.30~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8d221e7be774a7161a373d64bc1d822387510b4a;p=xfstests-dev.git xfs: no quota support with internal rtdev Same as regular zoned, but the previous check didn't work. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Zorro Lang --- diff --git a/common/xfs b/common/xfs index 6bb7d991..5ecdf68a 100644 --- a/common/xfs +++ b/common/xfs @@ -2206,7 +2206,10 @@ _xfs_scratch_supports_rtquota() { # can check that quickly, and we make the bold assumption that the same will # apply to any scratch fs that might be created. _require_xfs_rtquota_if_rtdev() { - test "$USE_EXTERNAL" = "yes" || return + if [ "$USE_EXTERNAL" != "yes" ]; then + $XFS_INFO_PROG "$TEST_DIR" | grep -q 'realtime.*internal' && + _notrun "Quota on internal rt device not supported" + fi if [ -n "$TEST_RTDEV$SCRATCH_RTDEV" ]; then _xfs_kmod_supports_rtquota || \