Re: [PATCH v4] vfs: fix page locking deadlocks when deduping files

Christoph Hellwig
2019-08-16T06:47:55Z

On Thu, Aug 15, 2019 at 11:18:04AM -0700, Matthew Wilcox wrote:
> But I don't think read_mapping_page() can return a page which doesn't have
> PageUptodate set. Follow the path down through read_cache_page() into
> do_read_cache_page().

read_mapping_page() can't, but I think we need the check after the
lock_page still.