Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote: > > I think the new way CIFS is using NETFS could be one of the cause of the > > issue, as doing : > > The poblem is that netfs_extract_user_iter rejects iter types other than > ubuf and iovec, which breaks loop which is using bvec iters. It would > also break other things like io_uring pre-registered buffers, and all > of these are regressions compared to the old cifs code. Okay, I can reproduce it trivially. Question is, do I need to copy the bio_vec array (or kvec array or folio_queue list) or can I rely on that being maintained till the end of the op? (Obviously, I can't rely on the iov_iter struct itself being maintained). I think I have to copy the contents, just in case. David