[2/3] shared/011: run for all block device based file systems
diff mbox series

Message ID 20190715082523.18387-2-hch@lst.de
State New
Headers show
  • [1/3] common/cgroup2: better error message if cgroup2 fs is not mounted
Related show

Commit Message

Christoph Hellwig July 15, 2019, 8:25 a.m. UTC
Cgroupv2 writeback support can't be easily detected.  But it is
kindof expected from block based file systems and can be easily
added, so just assume support and fail if it doesn't work.

Signed-off-by: Christoph Hellwig <hch@lst.de>
 tests/shared/011 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff mbox series

diff --git a/tests/shared/011 b/tests/shared/011
index a0ac375d..b4cdc5ed 100755
--- a/tests/shared/011
+++ b/tests/shared/011
@@ -39,11 +39,14 @@  rm -f $seqres.full
 # real QA test starts here
 # Modify as appropriate.
-_supported_fs ext4 btrfs
+_supported_fs generic
 _supported_os Linux
 _require_cgroup2 io
+# cgroup v2 writeback is only support on block devices so far
+_require_block_device $SCRATCH_DEV
 smajor=$((0x`stat -L -c %t $SCRATCH_DEV`))
 sminor=$((0x`stat -L -c %T $SCRATCH_DEV`))