Re: [PATCH v2 6/7] nfs: Optimize direct I/O to use folios for requests

Pranjal Shrivastava <[email protected]>
Newsgroups gmane.linux.file-systems,gmane.linux.nfs,gmane.linux.kernel,gmane.linux.kernel.mm
Message-ID <[email protected]>
On Fri, Jul 03, 2026 at 07:00:35AM -0700, Christoph Hellwig wrote:
> On Fri, Jul 03, 2026 at 12:46:58PM +0000, Pranjal Shrivastava wrote:
> > Do we have use-cases for a kernel user for direct I/O ? (Just curious to
> > know if there's something on the horizon).
> 
> Plenty.  Basically any storage on file driver, or storage / file system
> server:  loop, zloop, nvmet, scsi target and nfsd ar the ones I know off
> by head.
> 

Ack. I see! Thanks!

Regarding the page_folio impasse, how do you suggest we proceed? Should
I expose and use get_contig_folio_len() from bvec? Or should I move the
NFS helper into the iov_iter lib? (or both).

Also, do you suggest sending the Folio move as a standalone patch if it
is blocking the rest of the series or do we prefer keeping these in a
single series?

Thanks,
Praan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.