Re: [PATCH v2 5/7] ceph: Convert ceph_readdir_cache_control to store a folio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux