Re: Read data to kernel buffer by blkdev_read_iter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux