Al Viro fcb14cb1bd new iov_iter flavour - ITER_UBUF
Equivalent of single-segment iovec.  Initialized by iov_iter_ubuf(),
checked for by iter_is_ubuf(), otherwise behaves like ITER_IOVEC
ones.

We are going to expose the things like ->write_iter() et.al. to those
in subsequent commits.

New predicate (user_backed_iter()) that is true for ITER_IOVEC and
ITER_UBUF; places like direct-IO handling should use that for
checking that pages we modify after getting them from iov_iter_get_pages()
would need to be dirtied.

DO NOT assume that replacing iter_is_iovec() with user_backed_iter()
will solve all problems - there's code that uses iter_is_iovec() to
decide how to poke around in iov_iter guts and for that the predicate
replacement obviously won't suffice.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2022-08-08 22:37:15 -04:00
..
2022-08-02 12:34:04 -04:00
2022-03-24 19:06:45 -07:00
2022-08-03 10:35:43 -07:00
2022-08-03 10:35:43 -07:00
2022-02-14 19:51:47 +01:00
2022-03-23 18:03:08 -07:00
2022-08-03 10:35:43 -07:00
2022-08-02 12:34:04 -04:00
2022-05-13 07:20:09 -07:00
2022-05-28 11:27:17 -07:00
2022-03-22 17:03:12 -07:00
2022-08-03 14:38:02 -07:00
2022-08-03 10:35:43 -07:00
2022-08-08 22:37:15 -04:00
2022-08-03 14:38:02 -07:00
2022-07-20 10:52:40 +01:00
2022-08-03 10:35:43 -07:00
2022-06-13 09:54:52 -07:00
2022-06-04 14:04:27 -07:00
2022-01-15 16:30:31 +02:00
2022-05-19 14:08:53 -07:00