From: Theodore Ts'o <tytso@mit.edu>
To: Dmitry Monakhov <dmonakhov@openvz.org>
Cc: linux-ext4@vger.kernel.org, a-fujita@rs.jp.nec.com
Subject: Re: [PATCH 4/4] ext4: reimplement uninit extent optimization for move_extent_per_page V2
Date: Wed, 26 Sep 2012 12:56:55 -0400 [thread overview]
Message-ID: <20120926165655.GD18983@thunk.org> (raw)
In-Reply-To: <1348489434-22778-5-git-send-email-dmonakhov@openvz.org>
On Mon, Sep 24, 2012 at 04:23:54PM +0400, Dmitry Monakhov wrote:
> Uninitialized extent may became initialized(parallel writeback task)
> at any moment after we drop i_data_sem, so we have to recheck extent's
> state after we hold page's lock and i_data_sem.
>
> If we about to change page's mapping we must hold page's lock in order to
> serialize other users.
> Changes from V1 in response to Akira's comments:
> - fix last block mistype
> - Rerutn inital error code
>
> Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Thanks, applied.
- Ted
prev parent reply other threads:[~2012-09-26 16:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-24 12:23 [PATCH 0/4] ext4: ioc_move_ext fixes Dmitry Monakhov
2012-09-24 12:23 ` [PATCH 1/4] ext4: move_extent code cleanup Dmitry Monakhov
2012-09-26 16:30 ` Theodore Ts'o
2012-09-24 12:23 ` [PATCH 2/4] ext4: online defrag is not supported for journaled files Dmitry Monakhov
2012-09-26 16:30 ` Theodore Ts'o
2012-09-24 12:23 ` [PATCH 3/4] ext4: basic bug shield for move_extent_per_page Dmitry Monakhov
2012-09-26 16:50 ` Theodore Ts'o
2012-09-24 12:23 ` [PATCH 4/4] ext4: reimplement uninit extent optimization for move_extent_per_page V2 Dmitry Monakhov
2012-09-26 16:56 ` Theodore Ts'o [this message]
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=20120926165655.GD18983@thunk.org \
--to=tytso@mit.edu \
--cc=a-fujita@rs.jp.nec.com \
--cc=dmonakhov@openvz.org \
--cc=linux-ext4@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;
as well as URLs for NNTP newsgroup(s).