Alexander Viro wrote:
> Do it in ->prepare_write() if page is the last one. End of story. You'll
> have to call the thing in your truncate() (expanding case) and that's it.
> Pageout _never_ changes the file size, write and truncate own the ->i_sem.
> So "page covers the end of file" is not going to change under you when you
> are interested in unmerging. Here's your serialization.

The prepare_write methods are not called consistently across all the
block_*_page functions, something I complained about previously:

> Here's what's on my mind: block_write_full_page does not use the
> filesystem's prepare_write and commit_write methods, instead it calls
> its own internal functions.  Presumeably this is done for efficiency,
> but it limits flexibility.   

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]

Reply via email to