Thread (9 messages) flat view 9 messages, 2 authors, 2012-09-26

Re: [PATCH 4/4] ext4: reimplement uninit extent optimization for move_extent_per_page V2

From: Theodore Ts'o <tytso@mit.edu>
Date: 2012-09-26 16:56:59

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 <redacted>
Thanks, applied.

					- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help