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

From: Jens Axboe
Date: Wed Oct 10 2018 - 16:00:15 EST


On 10/10/18 1:59 PM, Bjorn Helgaas wrote:
> On Fri, Oct 05, 2018 at 07:16:04PM -0600, Jens Axboe wrote:
>> On 10/4/18 3:27 PM, Logan Gunthorpe wrote:
>>> QUEUE_FLAG_PCI_P2P is introduced meaning a driver's request queue
>>> supports targeting P2P memory. This will be used by P2P providers and
>>> orchestrators (in subsequent patches) to ensure block devices can
>>> support P2P memory before submitting P2P backed pages to submit_bio().
>>
>> Nit pick, but the subject line still says that it checks support
>> for requests. This patch just adds the ability to flag support
>> in the queue.
>
> What about the following? MAINTAINERS doesn't list a specific
> maintainer for include/linux/blkdev.h (maybe the "BLOCK LAYER" entry
> should have an F: pattern for it?), but I'd really like your ack
> before merging this.
>
> commit 7e647ae1eda290786851c3dff4f38189b982386d
> Author: Logan Gunthorpe <logang@xxxxxxxxxxxx>
> Date: Thu Oct 4 15:27:41 2018 -0600
>
> block: Add PCI P2P flag for request queue
>
> Add QUEUE_FLAG_PCI_P2P, meaning a driver's request queue supports targeting
> P2P memory. This will be used by P2P providers and orchestrators (in
> subsequent patches) to ensure block devices can support P2P memory before
> submitting P2P-backed pages to submit_bio().
>
> Signed-off-by: Logan Gunthorpe <logang@xxxxxxxxxxxx>
> Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>

You can add my acked-by to this one.

--
Jens Axboe