Can you try with the attached change? It'll get folded into Christian's vfs.netfs branch at some point. David --- diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 84a517a0189d..97003155bfac 100644 --- a/lib/iov_iter.c +++ b/lib/iov_iter.c @@ -1026,7 +1026,7 @@ static ssize_t iter_folioq_get_pages(struct iov_iter *iter, iov_offset += part; extracted += part; - *pages = folio_page(folio, offset % PAGE_SIZE); + *pages = folio_page(folio, offset / PAGE_SIZE); get_page(*pages); pages++; maxpages--;