Re: [PATCH] 9p/virtio: restrict page pinning to user_backed_iter() iovec

David Howells
2025-12-19T12:06:21Z

Christian Schoenebeck <linux_oss@crudebyte.com> wrote:

> > - if (!iov_iter_is_kvec(data)) {
> > + if (user_backed_iter(data)) {

That looks wrong. If the I/O is coming through netfslib, you should never see
ITER_UBUF or ITER_IOVEC in the filesystem.

David