Thread (21 messages) 21 messages, 5 authors, 2022-03-02

Re: [PATCH 3/6] block, fs: assert that key paths use iovecs, and nothing else

From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2022-02-27 22:15:34
Also in: linux-fsdevel, linux-mm, linux-xfs, lkml

On Sun, Feb 27, 2022 at 01:34:31AM -0800, jhubbard.send.patches@gmail.com wrote:
From: John Hubbard <jhubbard@nvidia.com>

Upcoming changes to Direct IO will change it from acquiring pages via
get_user_pages_fast(), to calling pin_user_pages_fast() instead.

Place a few assertions at key points, that the pages are IOVEC (user
pages), to enforce the assumptions that there are no kernel or pipe or
other odd variations being passed.
Umm...  And what should happen when O_DIRECT file gets passed to splice()?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help