Thread (58 messages) 58 messages, 9 authors, 2018-09-11

Re: [PATCH v5 07/13] block: Add PCI P2P flag for request queue and check support for requests

From: Logan Gunthorpe <logang@deltatee.com>
Date: 2018-09-05 19:33:56
Also in: linux-nvme, linux-pci, linux-rdma, lkml, nvdimm


On 05/09/18 01:26 PM, Jens Axboe wrote:
On 9/3/18 4:26 PM, Logan Gunthorpe wrote:
quoted
I personally agree with Christoph. But if there's consensus in the other
direction or this is a real blocker moving this forward, I can remove it
for the next version.
It's a simple branch because the check isn't exhaustive. It just checks
the first page. At that point you may as well just require the caller to
flag the bio/rq as being P2P, and then do a check for P2P compatibility
with the queue.
Hmm, we had something like that in v4[1] but it just seemed redundant to
create a flag when the information was already in the bio and kind of
ugly for the caller to check for, then set, the flag. I'm not _that_
averse to going back to that though...

Logan

[1]
https://lore.kernel.org/lkml/20180423233046.21476-8-logang@deltatee.com/T/#u (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help