Re: [PATCH v6 01/34] vfs: Unconditionally set IOCB_WRITE in call_write_iter()

From: David Howells
Date: Thu Jan 19 2023 - 05:03:35 EST


Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:

> Which does nothing for places that do not use call_write_iter()...
> __kernel_write_iter() is one such; for less obvious specimen see
> drivers/nvme/target/io-cmd-file.c:nvmet_file_submit_bvec()

Should these be calling call_read/write_iter()? If not, should
call_read/write_iter() be dropped?

David