On Tue, Aug 22, 2023 at 02:17:20PM -0700, Darrick J. Wong wrote: > On Tue, Aug 22, 2023 at 09:09:37PM +0100, Matthew Wilcox (Oracle) wrote: > > Modelled after the loop in iomap_write_iter(), copy larger chunks from > > userspace if the filesystem has created large folios. > > Hum. Which filesystems are those? Is this for the in-memory ones like > tmpfs? Alas tmpfs uses its own shmem_file_read_iter() and doesn't call back into generic_perform_write(). But I was looking at the ramfs aops and thinking those looked ripe for large folio support, so I thought I'd take care of this part first since it potentially affects every filesystem that uses generic_file_write_iter() / __generic_file_write_iter() / generic_perform_write(). This is also a great opporunity for someone to tell me "Actually I have plans in this area and ..."