mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
btrfs/139: require 2GB scratch dev
In my testing on 1GB zram devices btrfs/139 usually fails with ENOSPC. Add a requirement for 2GB scratch devices (empirically measured). Signed-off-by: Johannes Thumshirn <jth@kernel.org> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
996e263244
commit
6a31c46b1a
+2
-1
@@ -33,7 +33,8 @@ rm -f $seqres.full
|
||||
|
||||
_supported_fs btrfs
|
||||
_supported_os Linux
|
||||
_require_scratch
|
||||
# We at least need 2GB of free space on $SCRATCH_DEV
|
||||
_require_scratch_size $((2 * 1024 * 1024))
|
||||
|
||||
_scratch_mkfs > /dev/null 2>&1
|
||||
_scratch_mount
|
||||
|
||||
Reference in New Issue
Block a user