--On 09/12/00 10:30:28 -0400 Alexander Viro <[EMAIL PROTECTED]> wrote:

> 
> 
> On Tue, 12 Sep 2000, Chris Mason wrote:
> 
>> Almost, truncate could remove the file items in the middle of the
>> unmerge.
>> 
>> proc1: writepage->prepare_write->unmerge
> 
> Chris, RTFPOSIX. pageout should _never_ expand the file. _If_ you are
> using ->prepare_write() in ->writepage() at all (you don't have to) it
> should go only up to ->i_size, or you've got much more serious problems.
> 
> IOW, ->writepage() has no business unmerging anything.
> 

Yes, another option is to have writepage go directly into the tail (as said
in the other posts).  With or without the unmerge, it is still a
concurrency issue,  the point was the tail can go away in the middle of a
writepage.

-chris


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

Reply via email to