On 3/22/19 4:42 PM, Bart Van Assche wrote:
On 3/22/19 6:06 AM, Ivan Safonov wrote:
Kernel version is 4.19.16.
Is this behavior valid for iov_iter with type ITER_KVEC?
Are you familiar with the ITER_KVEC flag?
No, I did not find a clear description of this flag.
In the previous message I misled you: iov_iter has ITER_KVEC type only
if set_fs(get_ds()) present before iov_iter_init(). In this case
_without_ IOCB_DIRECT blkdev_read_iter() work fine. With IOCB_DIRECT
blkdev_read_iter() return -EFAULT.