From: Omar Sandoval <osandov@xxxxxx> This test creates a 256 MB filesystem and then writes a 200 MB file. With separate data and metadata, Btrfs will run out of data space since it needs to allocate some metadata space. Use mixed mode, which is the recommendation for smaller filesystems. Signed-off-by: Omar Sandoval <osandov@xxxxxx> --- tests/generic/427 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/generic/427 b/tests/generic/427 index 9cde5f50..b2cb4526 100755 --- a/tests/generic/427 +++ b/tests/generic/427 @@ -55,6 +55,8 @@ _require_test_program "feature" _require_aiodio aio-dio-eof-race # limit the filesystem size, to save the time of filling filesystem +# Btrfs needs to use mixed mode for such a small filesystem +[ "$FSTYP" = "btrfs" ] && MKFS_OPTIONS="$MKFS_OPTIONS -M" _scratch_mkfs_sized $((256 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html