]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
common: enable testing of realtime quota when supported
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:27:28 +0000 (16:27 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 23 Jan 2025 21:19:57 +0000 (13:19 -0800)
commite4606c165f2511cfff185ee7a247f85383d4c019
treed6953245e0a1004f5b4b735b23972eb0c43d5093
parent0d7ce0cb7ed5351db433e5ffc9b89a4d81906494
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