From: "Theodore Ts'o" <tytso@mit.edu>
To: Boyang Xue <bxue@redhat.com>
Cc: "Darrick J. Wong" <djwong@kernel.org>, fstests@vger.kernel.org
Subject: Re: [PATCH v1] generic/476: requires 27GB scratch size
Date: Thu, 21 Jul 2022 07:42:47 -0400 [thread overview]
Message-ID: <Ytk7t0am8H4x2BbS@mit.edu> (raw)
In-Reply-To: <CAHLe9YaAVyBmmM8T27dudvoeAxbJ_JMQmkz7tdM1ZLnpeQW4UQ@mail.gmail.com>
On Thu, Jul 21, 2022 at 03:26:05PM +0800, Boyang Xue wrote:
> > > I find generic/476 easily goes into an infinite run on top of NFS. When it
> >
> > Infinite? It's only supposed to start 25000*nr_cpus*TIME_FACTOR
> > operations, so it /should/ conclude eventually. That includes driving
> > the filesystem completel out of space, but there ought to be enough
> > unlink/rmdir/truncate calls to free up space every now and then...
>
> Yes. I'm not sure the calculations inside, but when the size of the
> scratch device < 27GB (can be 26GB when the backing storage is ext4
> rather than xfs), the test runs infinitely. I'm aware that the test
> should be slow, especially on NFS, but I see the test never finishes
> after multi-days. This problem happens in both localhost exported NFS
> and remote exported NFS configurations.
I can partially confirm this. I had noted a few weeks ago that I
needed to exclude generic/476 or the test VM would hang for over 24
hours, a which point I lost patience and terminated the VM. I had
gotten as far as
gce-xfstests -c nfs -g auto -X generic/476
(which is a loopback config) using 5.19-rc4 in order to get a test run
to complete.
Note: this was also triggering failures of generic/426 and
generic/551, which I also haven't had time to investigate, not being
an NFS developer. :-)
I wasn't sure whether generic/476 never terminating was caused by a
loopback-triggered deadlock, or something else. But it sounds like
you've isolated it to the scratch device *too* small, and since that
the failure occurred even on a configuration where the client and
server were on different machines/VM's, correct?
> > > _require_scratch
> > > +_require_scratch_size $((27 * 1024 * 1024)) # 27GB
> >
> > ...so IDGI, this test works as intended. Are you saying that NFS
> > command overhead is so high that this test takes too long?
I interpreted this as "if the drive is too small, we're hitting some
kind of problem". This *could* be some kind of problem which triggers
on ENOSPC; perhaps it's just much more likely on a smaller device? So
it's possible this is not a test bug, but an NFS problem. Perhaps we
should forward this off to the NFS folks first?
- Ted
next prev parent reply other threads:[~2022-07-21 11:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 2:29 [PATCH v1] generic/476: requires 27GB scratch size bxue
2022-07-21 2:49 ` xuyang2018.jy
2022-07-21 7:17 ` Boyang Xue
2022-07-21 4:40 ` Darrick J. Wong
2022-07-21 7:26 ` Boyang Xue
2022-07-21 11:42 ` Theodore Ts'o [this message]
2022-07-21 14:03 ` Theodore Ts'o
2022-07-21 15:12 ` Chuck Lever III
2022-07-21 15:14 ` Chuck Lever III
2022-07-21 18:04 ` Theodore Ts'o
2022-07-21 18:13 ` Chuck Lever III
2022-07-22 2:18 ` Theodore Ts'o
2022-08-04 9:10 ` Boyang Xue
2022-07-21 15:29 ` Zorro Lang
2022-07-21 15:32 ` Chuck Lever III
2022-07-21 16:30 ` Zorro Lang
2022-07-21 18:25 ` Jeff Layton
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=Ytk7t0am8H4x2BbS@mit.edu \
--to=tytso@mit.edu \
--cc=bxue@redhat.com \
--cc=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
/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