lkml.org 
[lkml]   [2018]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 07/13] block: Add PCI P2P flag for request queue and check support for requests
From
Date
On 9/5/18 2:18 PM, Logan Gunthorpe wrote:
>
>
> On 05/09/18 02:14 PM, Jens Axboe wrote:
>> But if the caller must absolutely know where the bio will end up, then
>> it seems super redundant. So I'd vote for killing this check, it buys
>> us absolutely nothing and isn't even exhaustive in its current form.
>
>
> Ok, I'll remove it for v6.

Since the drivers needs to know it's doing it right, it might not
hurt to add a sanity check helper for that. Just have the driver
call it, and don't add it in the normal IO submission path.

--
Jens Axboe

\
 
 \ /
  Last update: 2018-09-05 22:20    [W:0.074 / U:1.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site