Re: Read data to kernel buffer by blkdev_read_iter

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

 



On Fri, 2019-03-22 at 17:57 +-0300, Ivan Safonov wrote:
+AD4 In the previous message I misled you: iov+AF8-iter has ITER+AF8-KVEC type only 
+AD4 if set+AF8-fs(get+AF8-ds()) present before iov+AF8-iter+AF8-init(). In this case 
+AD4 +AF8-without+AF8 IOCB+AF8-DIRECT blkdev+AF8-read+AF8-iter() work fine. With IOCB+AF8-DIRECT 
+AD4 blkdev+AF8-read+AF8-iter() return -EFAULT.

Have you tried to store a physical address in iov+AF8-base instead of a virtual
address?

Bart.



[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