On Fri, Feb 14, 2025 at 07:10:26PM +0000, Viacheslav Dubeyko wrote: > > - cache_ctl->page = find_lock_page(&dir->i_data, ptr_pgoff); > > - if (!cache_ctl->page) { > > + cache_ctl->folio = filemap_lock_folio(&dir->i_data, ptr_pgoff); > > + if (IS_ERR(cache_ctl->folio)) { > > + cache_ctl->folio = NULL; > > doutc(cl, " page %lu not found\n", ptr_pgoff); > > Maybe, we need to change debug output here too? > > doutc(cl, " folio %lu not found\n", ptr_pgoff); I'm happy to make that change for the next version, or for somebody to make that change while applying the patches.