Chris Mason wrote:
> 
> You still run into races between truncate and writepage, I'm fixing this in
> the next reiserfs release by keeping the last page locked for the duration
> of the truncate.
> 
> You also have to be very careful during the unmerge not to allow up to date
> information in the page cache to be overwritten by old data from the disk.
> block_write_full_page will trigger a get_block on an up to date page, while
> generic_file_write could trigger it for old or new data.

Thanks for the tips.  I hope my new, simplified approach using getpage
makes this easy.

--
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