Re: [PATCH] mm/filemap: do not allocate cache pages beyond end of file at read
From: Kirill A. Shutemov
Date: Wed Oct 30 2019 - 02:50:44 EST
On Tue, Oct 29, 2019 at 05:52:05PM +0100, Linus Torvalds wrote:
> But NFS, for example, has open/close consistency, so the metadata
> revalidation is at open() time, not at read time.
I don't know much about filesystems, but can't size of file change after
the open() under network filesystem? Revlidation on read looks like an
requirement anyway, no?
--
Kirill A. Shutemov