]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common: enable testing of realtime quota when supported
authorDarrick J. Wong <djwong@kernel.org>
Tue, 6 Feb 2024 00:06:52 +0000 (16:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:41:59 +0000 (13:41 -0700)
commit4e3f530803701de0717ecfe57bc21a5071276275
treeb856a95d1c4789d49ffbea7f6a383c2e8d82b2e1
parent050cb6d09cc321c823a21048e9ab128989b927f2
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>
common/populate
common/quota
common/xfs