Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1342889imm; Wed, 10 Oct 2018 13:01:07 -0700 (PDT) X-Google-Smtp-Source: ACcGV608rcP4kHCziAgZm6v2Vqszya+gu/ySF96UH6ox55+C0Y3hJpcxIgxirtIzE0ILTOlnfNg5 X-Received: by 2002:a17:902:4d45:: with SMTP id o5-v6mr33455895plh.42.1539201667302; Wed, 10 Oct 2018 13:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539201667; cv=none; d=google.com; s=arc-20160816; b=EyjZZeSWGGfMs73cbPl/f1UONIijYbcviOLj5pjOfw6XTElgfUr+HBsr8ioyofAnWf KUok38y6qbK80lak7L3bFoglVyXwmr6jFY9iYVBygd/Jm93psZe4pbu5T/AuSTke5btt JvZsY9gh5aFfLsWieOqfDE2sMtgTZi5Uad4n/R3jcDmRKzSjG23rAJ/inSR3XnKD5QxU euW4k5lhi0Xjk7T1hWGCwlmNesOmnC05CKcCca51r/PsyAKx8hv/dIKZUDkTM9p/uwIK noSk04c1LU02Ivjnsbt1nZKXXdv4H18TBhuEOM14X17noH/Kl1lrZ4WGxdkIYwnBT9Ve tVKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=3V2BDI3Fu3E4wa2XeEZMZHiif+lnEO/ghUleh70DIVE=; b=KPNTByJ/P5nkeBlJgirhfusZEos/G7v83X1MtB9utVP6YLdFHoS6g/63dM10rcd6NZ E5k5o4reOQDsMsu339Ytbz/4U71jh52cEKDIuGK8wcsbNjP7PW83008JHP8a8kqEIwRl ZnRTuRorng3kuQCTXgvDQrJ2moa8W/hMm4iFbW8hcpl7UBW/RDA5XT9KA9xcwZfL3NOv NMVVNzARL5wRucXRq1quRyog77ZQIUZrjIcms2IQOk/GO+w62KZ5N20OpHBhHiCSri8c M+zEmfp1/74IruEttdOw20NeJTptf9UkjKhEflZxYfJZvowNrR6gKIWYmkiaK27ctt25 hNKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=onXzDl2v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p81-v6si27177449pfd.76.2018.10.10.13.00.52; Wed, 10 Oct 2018 13:01:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=onXzDl2v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727866AbeJKDXx (ORCPT + 99 others); Wed, 10 Oct 2018 23:23:53 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:39683 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727654AbeJKDXx (ORCPT ); Wed, 10 Oct 2018 23:23:53 -0400 Received: by mail-io1-f68.google.com with SMTP id z16-v6so4856245iol.6 for ; Wed, 10 Oct 2018 13:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=3V2BDI3Fu3E4wa2XeEZMZHiif+lnEO/ghUleh70DIVE=; b=onXzDl2vzAfqn0OS8mxpiER3t4SZHOGLbotCpbWDRHsqPdDeiYt4cTgf6Ne8tQ3CZM VuFqPml1kMGXEGA3wtr2L/7NnCzdYgB7hr+qF1YYL5a0mmIP2a3RplWdOzkGS43KnD68 2XUCisMD820dxUSRHhWKy+dV2WUrqS/ZDRXaod+7pnEEZdFTl1nzSX/t0p0Xl9GkHY2U lbVL3JpUEGxzvXxVfaPvXUq2yxkUWLt8hNCppd+pglzWy4Fpmd8zNpcwcQsDMK2cdFrY MSLx2u3wGLA8eDG83ZA+dJKyrvihKkD5RvuBszteT4hVII8MaEs8j5HENwcE4Qf+q+zl BLtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3V2BDI3Fu3E4wa2XeEZMZHiif+lnEO/ghUleh70DIVE=; b=OWm/ohpRTAHmSuDqEomzUZDHccP7AR8twzwg8mBmZ9CKcCtPm7RYgY6Wjwpj7XPT/J 3l6p3V7hR77ZJes5UW9Bw+n2/LyacEKYbQav+Hpah1LgpW19tsy+7bD/x0kAbrTuKZIQ Y12+G3TYDbSRHdouLRYMRUiDK9zmL0Ym6W/38v4YbGr5Ykoyf752D8X0yD2+I6xdqv2N +ErXACo595WRDIbAOfW+Q7lBnBQdxIaThhimX4OAFZdF8IPDH41AmP/FHzGgOleJqUNl Qii7eROO21LRVTx3BGsoh/RIYnVDO30rDxDREZUGCFNfEV11kiEkClKUZsrxXU5MfcRG kqIg== X-Gm-Message-State: ABuFfohyBsfT23V+lh6XDVuyjETrmbTmp/CSN4zHhmnjFYFqkys/jHOO ZtGXDGW07e/eF4AT7FSFVHVpAw== X-Received: by 2002:a6b:d611:: with SMTP id w17-v6mr23624068ioa.216.1539201611146; Wed, 10 Oct 2018 13:00:11 -0700 (PDT) Received: from [192.168.1.56] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id r9-v6sm8464059iob.49.2018.10.10.13.00.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Oct 2018 13:00:09 -0700 (PDT) Subject: Re: [PATCH v9 07/13] block: Add PCI P2P flag for request queue and check support for requests To: Bjorn Helgaas Cc: Logan Gunthorpe , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, linux-nvdimm@lists.01.org, linux-block@vger.kernel.org, Sagi Grimberg , =?UTF-8?Q?Christian_K=c3=b6nig?= , Benjamin Herrenschmidt , Alex Williamson , Stephen Bates , Keith Busch , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Jason Gunthorpe , Bjorn Helgaas , Max Gurtovoy , Dan Williams , Christoph Hellwig References: <20181004212747.6301-1-logang@deltatee.com> <20181004212747.6301-8-logang@deltatee.com> <485de371-0e84-6f20-7f3b-cec5635b87fe@kernel.dk> <20181010195901.GE5906@bhelgaas-glaptop.roam.corp.google.com> From: Jens Axboe Message-ID: <167fcf01-4bbc-f870-3750-6e950bfd6471@kernel.dk> Date: Wed, 10 Oct 2018 14:00:07 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181010195901.GE5906@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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 > Signed-off-by: Bjorn Helgaas > Reviewed-by: Christoph Hellwig You can add my acked-by to this one. -- Jens Axboe