From: Zheng Liu <gnehzuil.liu@gmail.com>
To: Andrey Sidorov <qrxd43@motorola.com>
Cc: Theodore Ts'o <tytso@mit.edu>, linux-ext4@vger.kernel.org
Subject: Re: A warning from 3.6+ with bigalloc and delalloc when running xfstest
Date: Thu, 11 Oct 2012 23:57:08 +0800 [thread overview]
Message-ID: <20121011155708.GA9480@gmail.com> (raw)
In-Reply-To: <CAA0+VHwL0u0h6sn=Z0FyHsqYi2ji=sUaQ9ZPJCQ9kEMOpQHarg@mail.gmail.com>
On Wed, Oct 10, 2012 at 01:02:52PM -0400, Andrey Sidorov wrote:
> On Tue, Oct 9, 2012 at 9:51 AM, Theodore Ts'o <tytso@mit.edu> wrote:
>
> > It is indeed, something we need to fix, and it's part of the problem
> > where where the delayed allocation for bigalloc is completely screwed
> > up. Part of the problem is when we write into a cluster which has not
> > yet been mapped in the extent tree, but which might (or might not)
> > have had other blocks in the cluster that have already been subject to
> > delayed allocation, we don't know whether to reserve clusters for the
> > purposes of doing the the delayed allocation accounting. Fixing this
> > w/o the extent status tree means having to search the page cache and
> > for other pages in the cluster, which is not only painful, but tricky
> > from the perspective of lock ordering.
> >
> > Unfortunately, I didn't notice this problem originally because I
> > hadn't been doing regular xfstests runs with bigalloc, and most of my
> > testing had been with direct I/O, where these issues didn't come up.
> >
> > - Ted
>
> Hi Ted,
>
> Does it mean I'd better turn off delalloc if I use bigalloc with linux 3.5.3?
Hi Andrey,
This warning is only triggered in a stress test case. In our product
system we never meet this warning, certainly we have backported bigalloc
to 2.6.32 kernel, though. So IMHO we needn't turn off delalloc.
Regards,
Zheng
next prev parent reply other threads:[~2012-10-11 15:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-08 14:59 A warning from 3.6+ with bigalloc and delalloc when running xfstest Zheng Liu
[not found] ` <20121009054820.GA8028@thunk.org>
2012-10-09 6:29 ` Zheng Liu
2012-10-09 13:51 ` Theodore Ts'o
2012-10-10 17:02 ` Andrey Sidorov
2012-10-11 15:57 ` Zheng Liu [this message]
2012-10-13 18:29 ` Andrey Sidorov
2012-10-14 2:18 ` Theodore Ts'o
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=20121011155708.GA9480@gmail.com \
--to=gnehzuil.liu@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=qrxd43@motorola.com \
--cc=tytso@mit.edu \
/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;
as well as URLs for NNTP newsgroup(s).