[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syncing the page cache, take 2
Hi,
On Tue, Aug 15, 2000 at 10:32:14AM +0200, Daniel Phillips wrote:
>
> This is really a VFS problem not a mm problem per se, but since the two have
> become so closely intertwined I'm bringing it up here.
>
> There seems to be something missing in the current VFS (please correct me if I'm
> wrong): the sync code totally ignores the page cache, so when you do a sync
> you're only syncing the buffer cache and not file data that may have been mapped
> into the page cache by file_write or file_mmap.
Correct. We have plans to change this in 2.5, basically by removing
the VM's privileged knowledge about the buffer cache and making the
buffer operations (write-back, unmap etc.) into special cases of
generic address-space operations. For 2.4, it's really to late to do
anything about this.
--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/