Re: [RFC PATCH v2 3/3] block: Always use a bounce buffer when XPFO is enabled

From: Christoph Hellwig
Date: Wed Sep 14 2016 - 03:33:50 EST


On Wed, Sep 14, 2016 at 09:19:01AM +0200, Juerg Haefliger wrote:
> This is a temporary hack to prevent the use of bio_map_user_iov()
> which causes XPFO page faults.
>
> Signed-off-by: Juerg Haefliger <juerg.haefliger@xxxxxxx>

Sorry, but if your scheme doesn't support get_user_pages access to
user memory is't a steaming pile of crap and entirely unacceptable.