From: Dmitry Monakhov <dmonakhov@openvz.org>
To: Zheng Liu <gnehzuil.liu@gmail.com>, linux-ext4@vger.kernel.org
Cc: Zheng Liu <wenqing.lz@taobao.com>, Theodore Ts'o <tytso@mit.edu>
Subject: Re: [PATCH v2 0/5] ext4: try to fix up es regressions
Date: Thu, 07 Mar 2013 20:08:47 +0400 [thread overview]
Message-ID: <87ppzbgpkg.fsf@openvz.org> (raw)
In-Reply-To: <1362579435-6333-1-git-send-email-wenqing.lz@taobao.com>
On Wed, 6 Mar 2013 22:17:10 +0800, Zheng Liu <gnehzuil.liu@gmail.com> wrote:
> Hi all,
>
> The patch series tries to fixup some regressions after applied the extent
> status tree. These patches have rebased against the latest dev branch of
> ext4 and have been tested by xfstests.
>
> After rebased the latest dev branch, two patches have been dropped because
> they have been applied into the branch. A new patch is added, which tries
> to fix up a wrong return value in ext4_split_extent(). Otherwise, there
> are two major changes in this version. The first one is to improve the
> self-testing-infrastructure according to Dmitry's comment. The second one
> is to improve the zero out code.
>
> After applied this patch series, I havn't seen the warning messages from
> self-testing infrastructure except the following cases.
>
> - xfstests #13 with bigalloc or with no journal
> - xfstests #223 with dioread_nolock
> The reason is that when we lookup a block mapping from status tree
> i_data_sem locking won't be taken. So there is a race window that an
> unwritten extent could be converted by end_io when we compare the result
> between extent tree and status tree.
>
> Dmitry, Ted, could you please confirm that this patch series can fix the
> defrag regression? Thank you so much. Until now I run #300 and #301 a
> lot times but I failed to hit this regression. :-(
Good work. All my tests now succeed (no error, no warning, no bugons),
BUT 301'th (in terms of git://oss.sgi.com/xfs/cmds/xfstests.git)
result in massive memory leakage
about 8gb in an hour
#while true; do ./check 301 ;done
I suspect that 'struct ext4_ext_path' is leaked somewhere, I'm not
even sure that it is new one.
I'll be out of email next week.
Good luck.
>
> *Big Note*
> When I am testing this patch series, I found some regressions in dev branch.
> Here is a note. These regressions could be hitted by running test case
> serveral times. So If we just run xfstests one time, they could be missed.
>
> - xfstests #74 with data=journal
> - xfstests #83 with bigalloc
> Some threads could be blocked for 120s.
>
> - xfstests #247 with data=journal
> Some warning messages are printed by ext4_releasepage. We hit
> WARN_ON(PageChecked(page)) in this function. But the test case itself can
> pass.
>
> - xfstests #269 with dioread_nolock
> The system will hang
>
> I don't paste full details here to make description clearly. I will go on
> tracing these problems. I am happy to provide full details if some one
> want to take a close look at these problems.
>
> v2 <- v1:
> * Improve self-testing infrastructure
> * Improve zero out code
> * Fix a wrong return value in ext4_split_extent
>
> v1: http://permalink.gmane.org/gmane.comp.file-systems.ext4/37338
>
> Thanks,
> - Zheng
>
> Dmitry Monakhov (1):
> ext4: add self-testing infrastructure to do a sanity check
>
> Zheng Liu (4):
> ext4: improve ext4_es_can_be_merged() to avoid a potential overflow
> ext4: fix wrong m_len value after unwritten extent conversion
> ext4: update extent status tree after an extent is zeroed out
> ext4: fix wrong the number of the allocted blocks in
> ext4_split_extent
>
> fs/ext4/extents.c | 45 ++++++++--
> fs/ext4/extents_status.c | 212 +++++++++++++++++++++++++++++++++++++++++++++--
> fs/ext4/extents_status.h | 9 ++
> fs/ext4/inode.c | 106 ++++++++++++++++++++++++
> 4 files changed, 362 insertions(+), 10 deletions(-)
>
> --
> 1.7.12.rc2.18.g61b472e
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2013-03-07 16:08 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 14:17 [PATCH v2 0/5] ext4: try to fix up es regressions Zheng Liu
2013-03-06 14:17 ` [PATCH v2 1/5] ext4: improve ext4_es_can_be_merged() to avoid a potential overflow Zheng Liu
2013-03-11 0:43 ` Theodore Ts'o
2013-03-11 6:03 ` Zheng Liu
2013-03-06 14:17 ` [PATCH v2 2/5] ext4: add self-testing infrastructure to do a sanity check Zheng Liu
2013-03-07 15:41 ` Dmitry Monakhov
2013-03-08 13:01 ` Zheng Liu
2013-03-11 1:01 ` Theodore Ts'o
2013-03-06 14:17 ` [PATCH v2 3/5] ext4: fix wrong m_len value after unwritten extent conversion Zheng Liu
2013-03-07 15:42 ` Dmitry Monakhov
2013-03-11 1:07 ` Theodore Ts'o
2013-03-11 5:47 ` Zheng Liu
2013-03-13 1:57 ` Theodore Ts'o
2013-03-13 2:14 ` Theodore Ts'o
2013-03-13 8:53 ` Zheng Liu
2013-03-06 14:17 ` [PATCH v2 4/5] ext4: update extent status tree after an extent is zeroed out Zheng Liu
2013-03-07 15:55 ` Dmitry Monakhov
2013-03-08 13:14 ` Zheng Liu
2013-03-06 14:17 ` [PATCH v2 5/5] ext4: fix wrong the number of the allocted blocks in ext4_split_extent Zheng Liu
2013-03-06 22:58 ` Dev branch regressions Theodore Ts'o
2013-03-07 2:40 ` Zheng Liu
2013-03-07 6:47 ` Lukáš Czerner
2013-03-07 11:54 ` Zheng Liu
2013-03-07 16:08 ` Dmitry Monakhov [this message]
2013-03-08 13:18 ` [PATCH v2 0/5] ext4: try to fix up es regressions Zheng Liu
2013-03-11 2:11 ` Theodore Ts'o
2013-03-11 6:23 ` Zheng Liu
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=87ppzbgpkg.fsf@openvz.org \
--to=dmonakhov@openvz.org \
--cc=gnehzuil.liu@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
--cc=wenqing.lz@taobao.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.