Re: [PATCH 2/2] fuse: Convert fuse_writepage_locked to take a folio

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

 



On Sat, Apr 13, 2024 at 01:28:31PM +0200, Bernd Schubert wrote:
> On 2/28/24 19:29, Matthew Wilcox (Oracle) wrote:
> > The one remaining caller of fuse_writepage_locked() already has a folio,
> > so convert this function entirely.  Saves a few calls to compound_head()
> > but no attempt is made to support large folios in this patch.
>
> sorry for late review. The part I'm totally confused with (already
> without this patch), why is this handling a single page only and not the
> entire folio? Is it guaranteed that the folio has a single page only?

Hi Bernd,

, filesystems have to tell the VFS that they support large folios before
they'll see a large folio.  That's a call to mapping_set_large_folios()
today, although there's proposals to make that more granular.

If there's interest in supporting large folios in FUSE, I'm happy to
help, but my primary motivation is sorting out struct page, not fixing
individual filesystems.




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux