Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Monday, March 19, 2007 - 3:28 am

Nick Piggin wrote:

Hmm, actually on second thoughts it probably is reasonable to recheck
i_size under the page lock... we need to do similar in the nopage path
to close the nopage vs invalidate race.

However, the already-truncated test I think can just be !page->mapping:
there should be no way for the page mapping to change to something
other than NULL.

-- 
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1 of 2] block_page_mkwrite() Implementation V2, David Chinner, (Sun Mar 18, 4:30 pm)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, David Chinner, (Mon Mar 19, 1:12 am)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, Christoph Hellwig, (Mon Mar 19, 2:22 am)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, Nick Piggin, (Mon Mar 19, 3:28 am)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, Christoph Hellwig, (Mon Mar 19, 5:22 am)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, David Howells, (Wed May 16, 3:19 am)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, David Woodhouse, (Wed May 16, 5:09 am)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, David Howells, (Wed May 16, 6:20 am)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, David Howells, (Wed May 16, 6:25 am)
Re: [PATCH 1 of 2] block_page_mkwrite() Implementation V2, David Chinner, (Wed May 16, 4:28 pm)