[PATCH v4 0/3] mm, netfs, fscache: Stop read optimisation when folio removed from pagecache
Linus Torvalds
torvalds at linux-foundation.org
Thu Nov 24 09:52:58 AEDT 2022
On Wed, Nov 23, 2022 at 2:48 PM David Howells <dhowells at redhat.com> wrote:
>
> I've also got rid of the bit clearances
> from the network filesystem evict_inode functions as they doesn't seem to
> be necessary.
Well, the patches look superficially cleaner to me, at least. That
"doesn't seem to be necessary" makes me a bit worried, and I'd have
liked to see a more clear-cut "clearing it isn't necessary because X",
but I _assume_ it's not necessary simply because the 'struct
address_space" is released and never re-used.
But making the lifetime of that bit explicit might just be a good idea.
Linus
More information about the Linux-erofs
mailing list