Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A237C61D9D for ; Wed, 25 Jan 2023 06:30:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234627AbjAYGak (ORCPT ); Wed, 25 Jan 2023 01:30:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234163AbjAYGai (ORCPT ); Wed, 25 Jan 2023 01:30:38 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAC063C29E; Tue, 24 Jan 2023 22:30:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=r0FuSmIbgkYy4WewyKyVPD9wcDWCGfj1WkmqOviCddk=; b=ihARzO3OK8WC8X+vTJmE+5otl8 LZP1ZuRMG3qrzWCWLr4tH9hnsQeyWtOrepDcCtrtfxAZxnvpvzVfhAMtzCO/DX7pYsT464vkm5oYm C5r4hEewgpigvEvUYkh2MDp2gWbcd3Jn75drGz1IIataCn30kMqVUrpu/gVcb7+rvch02c9A++JZ4 YhAEPHpLEYDPuz4mFdAAOh4CyY/qe9UuUm/aNKAQlOxaTLGCP5wt6ji7eKAU4FyvHr5ZmfzNiwrk2 /wOeqaX3hMpc/jJRBpO2Qy5YOda7852iLJmNMucamNSA+W80370DYMZiU3oar3x8PcOqa4/6d40cL sGRYk8ig==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKZIi-0067v4-MS; Wed, 25 Jan 2023 06:30:28 +0000 Date: Tue, 24 Jan 2023 22:30:28 -0800 From: Christoph Hellwig To: David Howells Cc: Christoph Hellwig , Al Viro , Matthew Wilcox , Jens Axboe , Jan Kara , Jeff Layton , David Hildenbrand , Jason Gunthorpe , Logan Gunthorpe , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH v9 6/8] block: Switch to pinning pages. Message-ID: References: <20230124170108.1070389-1-dhowells@redhat.com> <20230124170108.1070389-7-dhowells@redhat.com> <1297804.1674593951@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1297804.1674593951@warthog.procyon.org.uk> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 24, 2023 at 08:59:11PM +0000, David Howells wrote: > Christoph Hellwig wrote: > > > > Add BIO_PAGE_PINNED to indicate that the pages in a bio are pinned > > > (FOLL_PIN) and that the pin will need removing. > > > > The subject is odd when this doesn't actually switch anything, > > but just adds the infrastructure to unpin pages. > > How about: > > block: Add BIO_PAGE_PINNED and associated infrastructure sounds good.