* [PATCH fstests] btrfs/187: require 8GB scratch dev
@ 2019-12-12 7:45 Johannes Thumshirn
2019-12-12 20:16 ` Josef Bacik
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Thumshirn @ 2019-12-12 7:45 UTC (permalink / raw)
To: fstests; +Cc: Linux BTRFS Mailinglist, jth, Johannes Thumshirn, Filipe Manana
In my testing on 1GB zram devices btrfs/187 usually fails with ENOSPC.
Add a requirement for 8GB scratch devices (empirically measured).
Cc: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
tests/btrfs/187 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/btrfs/187 b/tests/btrfs/187
index 0744797ecc33..a604690a41b2 100755
--- a/tests/btrfs/187
+++ b/tests/btrfs/187
@@ -39,6 +39,9 @@ _require_attrs
rm -f $seqres.full
+# We at least need 8GB of free space on $SCRATCH_DEV
+_require_scratch_size $((8 * 1024 * 1024))
+
_scratch_mkfs >>$seqres.full 2>&1
_scratch_mount
--
2.16.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH fstests] btrfs/187: require 8GB scratch dev
2019-12-12 7:45 [PATCH fstests] btrfs/187: require 8GB scratch dev Johannes Thumshirn
@ 2019-12-12 20:16 ` Josef Bacik
0 siblings, 0 replies; 2+ messages in thread
From: Josef Bacik @ 2019-12-12 20:16 UTC (permalink / raw)
To: Johannes Thumshirn, fstests; +Cc: Linux BTRFS Mailinglist, jth, Filipe Manana
On 12/12/19 2:45 AM, Johannes Thumshirn wrote:
> In my testing on 1GB zram devices btrfs/187 usually fails with ENOSPC.
>
> Add a requirement for 8GB scratch devices (empirically measured).
>
> Cc: Filipe Manana <fdmanana@suse.com>
> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Thanks,
Josef
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-12 20:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12 7:45 [PATCH fstests] btrfs/187: require 8GB scratch dev Johannes Thumshirn
2019-12-12 20:16 ` Josef Bacik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).