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 CCE03C54E94 for ; Mon, 23 Jan 2023 16:17:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233111AbjAWQRt (ORCPT ); Mon, 23 Jan 2023 11:17:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233099AbjAWQRq (ORCPT ); Mon, 23 Jan 2023 11:17:46 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC0917EF3; Mon, 23 Jan 2023 08:17:45 -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=2oyH4uwBJfH4CW8T0wxFC0vvZrlsbUBreyPfi1FyKZs=; b=EntaRPhadqA1Nj+d1RMtgBU1gv BTJ28jeBqspXGCTAIYeRU1734xb3P9i47y201NwcFak3c5RTGE41kILunmTh9PWr8pD3mV85aOxRO 0QLKCBLiBkm7KGN3QVc1uuWksmF2xeHJjUO/NoXPQpGVe25TSgydXvlvB3DBW5WENfBOznv8I0nE5 xMi6zoS+rsYjqh6f/iG3h+4urXOduIcoos7c/Gze8gXngrPez1wOZZ+czO+mlZwBxxQZpbrPaRdyJ ufY9MbDlkDoqdEunTbZj1wNtUr+/um8xEzsG/uugCCDkwfg9ePTqNmtvxrKfsNmlQXB2FAQiqqfnI 6KnjNNPg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJzVl-000U36-2B; Mon, 23 Jan 2023 16:17:33 +0000 Date: Mon, 23 Jan 2023 08:17:33 -0800 From: Christoph Hellwig To: Jan Kara Cc: David Howells , David Hildenbrand , Al Viro , Christoph Hellwig , Matthew Wilcox , Jens Axboe , Jeff Layton , Logan Gunthorpe , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , John Hubbard , linux-mm@kvack.org Subject: Re: [PATCH v7 2/8] iov_iter: Add a function to extract a page list from an iterator Message-ID: References: <7bbcccc9-6ebf-ffab-7425-2a12f217ba15@redhat.com> <246ba813-698b-8696-7f4d-400034a3380b@redhat.com> <20230120175556.3556978-1-dhowells@redhat.com> <20230120175556.3556978-3-dhowells@redhat.com> <3814749.1674474663@warthog.procyon.org.uk> <3903251.1674479992@warthog.procyon.org.uk> <3911637.1674481111@warthog.procyon.org.uk> <20230123161114.4jv6hnnbckqyrurs@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230123161114.4jv6hnnbckqyrurs@quack3> 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 Mon, Jan 23, 2023 at 05:11:14PM +0100, Jan Kara wrote: > I'm all for using only pin/unpin in the end. But you'd still need to handle > the 'put' for the intermediate time when there are still FOLL_GET users of > the bio infrastructure, wouldn't you? Yes, we need it for the transition. But Dave already has a patch to convert the legacy direct-io code as well, at which point we can the retire the get bit.