]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: enable testing of realtime quota when supported
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Feb 2025 21:47:09 +0000 (13:47 -0800)
committerZorro Lang <zlang@kernel.org>
Thu, 6 Mar 2025 13:25:55 +0000 (21:25 +0800)
commitc67dc4e10b41ee55700f2b344a2b9abee956aaa5
tree4898e693fc78efd36f0033d151b6a858ccc03d9f
parentf6606bb2344ee5a0ff0157717a438f88b5d42eac
common: enable testing of realtime quota when supported

If the kernel advertises realtime quota support, test it.

However, this has a plot twist -- because rt quota only works if the xfs
is formatted with rtgroups, we have to mount a filesystem to see if
rtquota is actually supported.  Since it's time consuming to format and
mount the scratch filesystem, we'll assume that the test and scratch
fses have the same support.

This will cause problems if one sets SCRATCH_RTDEV but not TEST_RTDEV.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/populate
common/quota
common/xfs