* [PATCH] btrfs/011: skip if on too small devices
@ 2020-09-03 12:18 Johannes Thumshirn
2020-09-03 15:25 ` Josef Bacik
0 siblings, 1 reply; 2+ messages in thread
From: Johannes Thumshirn @ 2020-09-03 12:18 UTC (permalink / raw)
To: linux-btrfs, fstests; +Cc: Johannes Thumshirn
btrfs/011 does require a spare device of at least 10GB, skip if we don't
have big enough devices, e.g. when testing on ramdisks.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
---
tests/btrfs/011 | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/btrfs/011 b/tests/btrfs/011
index de424f876e6e..f96d11ce6ee6 100755
--- a/tests/btrfs/011
+++ b/tests/btrfs/011
@@ -51,6 +51,7 @@ _supported_fs btrfs
_require_scratch_nocheck
_require_scratch_dev_pool 5
_require_scratch_dev_pool_equal_size
+_require_scratch_size $((10 * 1024 * 1024)) #kB
_require_command "$WIPEFS_PROG" wipefs
rm -f $seqres.full
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs/011: skip if on too small devices
2020-09-03 12:18 [PATCH] btrfs/011: skip if on too small devices Johannes Thumshirn
@ 2020-09-03 15:25 ` Josef Bacik
0 siblings, 0 replies; 2+ messages in thread
From: Josef Bacik @ 2020-09-03 15:25 UTC (permalink / raw)
To: Johannes Thumshirn, linux-btrfs, fstests
On 9/3/20 8:18 AM, Johannes Thumshirn wrote:
> btrfs/011 does require a spare device of at least 10GB, skip if we don't
> have big enough devices, e.g. when testing on ramdisks.
>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Thanks,
Josef
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-03 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-03 12:18 [PATCH] btrfs/011: skip if on too small devices Johannes Thumshirn
2020-09-03 15:25 ` 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).