From: Bart Van Assche <bvanassche@acm.org>
To: Ivan Safonov <insafonov@gmail.com>, linux-block@vger.kernel.org
Subject: Re: Read data to kernel buffer by blkdev_read_iter
Date: Fri, 22 Mar 2019 08:36:53 -0700 [thread overview]
Message-ID: <1553269013.65329.147.camel@acm.org> (raw)
In-Reply-To: <1a5a1b81-49c0-2817-73d9-d58716c44b0a@gmail.com>
On Fri, 2019-03-22 at 17:57 +0300, Ivan Safonov wrote:
> 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.
Have you tried to store a physical address in iov_base instead of a virtual
address?
Bart.
next prev parent reply other threads:[~2019-03-22 15:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-22 13:06 Read data to kernel buffer by blkdev_read_iter Ivan Safonov
2019-03-22 13:42 ` Bart Van Assche
2019-03-22 14:57 ` Ivan Safonov
2019-03-22 15:36 ` Bart Van Assche [this message]
2019-03-22 16:24 ` Ivan Safonov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1553269013.65329.147.camel@acm.org \
--to=bvanassche@acm.org \
--cc=insafonov@gmail.com \
--cc=linux-block@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.