lkml.org 
[lkml]   [2022]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/6] NFS: direct-io: convert to FOLL_PIN pages
On Sat, Aug 27, 2022 at 01:36:06AM -0700, John Hubbard wrote:
> Convert the NFS Direct IO layer to use pin_user_pages_fast() and
> unpin_user_page(), instead of get_user_pages_fast() and put_page().

Again, this stuff can be hit with ITER_BVEC iterators

> - result = iov_iter_get_pages_alloc2(iter, &pagevec,
> + result = dio_w_iov_iter_pin_pages_alloc(iter, &pagevec,
> rsize, &pgbase);

and this will break on those.

\
 
 \ /
  Last update: 2022-08-28 00:49    [W:0.189 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site