From: Johannes Thumshirn <jth@kernel.org>
To: Eryu Guan <guaneryu@gmail.com>
Cc: Qu Wenruo <wqu@suse.com>,
linux-btrfs@vger.kernel.org, fstests@vger.kernel.org,
Damien Le Moal <Damien.LeMoal@wdc.com>,
Johannes Thumshirn <jth@kernel.org>
Subject: [PATCH] btrfs/139: require 2GB scratch dev
Date: Fri, 3 Jan 2020 12:29:05 +0100 [thread overview]
Message-ID: <20200103112905.1078-1-jth@kernel.org> (raw)
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>
---
tests/btrfs/139 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/btrfs/139 b/tests/btrfs/139
index 5664617c..2f84c811 100755
--- a/tests/btrfs/139
+++ b/tests/btrfs/139
@@ -31,6 +31,9 @@ _cleanup()
# remove previous $seqres.full before test
rm -f $seqres.full
+# We at least need 2GB of free space on $SCRATCH_DEV
+_require_scratch_size $((2 * 1024 * 1024))
+
_supported_fs btrfs
_supported_os Linux
_require_scratch
--
2.16.4
next reply other threads:[~2020-01-03 11:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-03 11:29 Johannes Thumshirn [this message]
2020-01-03 15:42 ` [PATCH] btrfs/139: require 2GB scratch dev Josef Bacik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200103112905.1078-1-jth@kernel.org \
--to=jth@kernel.org \
--cc=Damien.LeMoal@wdc.com \
--cc=fstests@vger.kernel.org \
--cc=guaneryu@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=wqu@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox