Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5268261rwl; Sun, 8 Jan 2023 11:43:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXtDknyjn34saD16xxAcOq1BLHZn2+zXCvBwQUK4JIKLSFktWGIFXQDqBBrGusDDWbGVVRx3 X-Received: by 2002:a17:903:32cc:b0:189:129e:92af with SMTP id i12-20020a17090332cc00b00189129e92afmr91153877plr.14.1673206986512; Sun, 08 Jan 2023 11:43:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673206986; cv=none; d=google.com; s=arc-20160816; b=pXuaWTueHJYAo/FduSbMHQCqS58MW53Q1KdVjPItydEvFs63La+XJNbYX+tZw4SmbU lPrAWaDl8CvG3k5CuGE9Ue+tXcTaq7hRRv+fWuGY4ULKpen5dCIM23+I1PLtXgBuMmXN ya+Gvv9XbNjT5ufM10La9wP3rJydrhHMtrs/nxaoGKc8ivmMcPd+shvLSbWEGlMrcoOA b7HbYF/+4T+7W4dYEbxktzUrQD1ilDhkSB6gIqpbNvA+HTXR1QU8sPgHSy92eEOd2mjQ NxdlKWyysK3DyCSgC1x7RNIckUgp6YcMXs04PIBG9ZbJ+MEj4cPxvA/kZzXDBYaXkm8B VIEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=RnHdpHKPjRbgtteLZNatBvGeLtifDpTNmLxdoQh5COI=; b=0ApVPMRLaNWDp8P+PXXsgGI88cHR5lliZfTk/XHy/YvbMmNSNay1VAvj8LhyYqdiU2 Q/94hJ1qd3/0JxK3ArnXsy+sAv3/WVtevn4J0W+/JdXWEfE0pTx8OalrRnU7jKxw2QIL 6wf+EPl9MDLu+iBTa6lqeESFFL+AmUoFScHFMM25AzMj4bJIy1pBrw22WT0qC/qj3T4g n5YtL9yXvdvgwMgOiDp6bEY5vra3KNSy8HMnPQQXXulL+MMatLbcRG0c+sqwQLC6d3/z bQ4/H89VNK7Tvx6TnwnZ8SEWn8d1+JU2yGU7zZsRHvuGyovMLYc/msz7fC35zv9BhVNi 973Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jFSJjzEZ; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l4-20020a170902f68400b00192ab6aa296si7958227plg.243.2023.01.08.11.42.48; Sun, 08 Jan 2023 11:43:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jFSJjzEZ; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233508AbjAHTlc (ORCPT + 99 others); Sun, 8 Jan 2023 14:41:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233293AbjAHTla (ORCPT ); Sun, 8 Jan 2023 14:41:30 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D632BAE7B for ; Sun, 8 Jan 2023 11:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673206842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RnHdpHKPjRbgtteLZNatBvGeLtifDpTNmLxdoQh5COI=; b=jFSJjzEZOuKsL4xMqS2BWz/Oqe6DArYl0GSRzLcjPaWD8Pdz3NYTMg7U8qi9oTltN+JT68 YbD3lkW0AGOzu1Zj3OQSIhIrbBB6AOPKVRiGsRYkZ1s4IQyThgaRPenhv4K5809fj0WdCj txdckJAPL7GQcQvd/VDUbJSJj7Qv0PI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-323-FF6jQcO5NGGDMftbRaivlQ-1; Sun, 08 Jan 2023 14:40:38 -0500 X-MC-Unique: FF6jQcO5NGGDMftbRaivlQ-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0185F3C02B59; Sun, 8 Jan 2023 19:40:38 +0000 (UTC) Received: from pasta.redhat.com (ovpn-192-3.brq.redhat.com [10.40.192.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id CE474492B06; Sun, 8 Jan 2023 19:40:35 +0000 (UTC) From: Andreas Gruenbacher To: Christoph Hellwig , "Darrick J . Wong" , Alexander Viro , Matthew Wilcox Cc: Andreas Gruenbacher , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, cluster-devel@redhat.com Subject: [RFC v6 00/10] Turn iomap_page_ops into iomap_folio_ops Date: Sun, 8 Jan 2023 20:40:24 +0100 Message-Id: <20230108194034.1444764-1-agruenba@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Here's an updated version of this patch queue. Changes since v5 [*]: * A new iomap-internal __iomap_get_folio() helper was added. * The previous iomap-internal iomap_put_folio() helper was renamed to __iomap_put_folio() to mirror __iomap_get_folio(). * The comment describing struct iomap_folio_ops was still referring to pages instead of folios in two places. Is this good enough for iomap-for-next now, please? Thanks, Andreas [*] https://lore.kernel.org/linux-xfs/20221231150919.659533-1-agruenba@redhat.com/ Andreas Gruenbacher (10): iomap: Add __iomap_put_folio helper iomap/gfs2: Unlock and put folio in page_done handler iomap: Rename page_done handler to put_folio iomap: Add iomap_get_folio helper iomap/gfs2: Get page in page_prepare handler iomap: Add __iomap_get_folio helper iomap: Rename page_prepare handler to get_folio iomap/xfs: Eliminate the iomap_valid handler iomap: Rename page_ops to folio_ops xfs: Make xfs_iomap_folio_ops static fs/gfs2/bmap.c | 38 ++++++++++----- fs/iomap/buffered-io.c | 105 +++++++++++++++++++++++------------------ fs/xfs/xfs_iomap.c | 41 +++++++++++----- include/linux/iomap.h | 50 +++++++++----------- 4 files changed, 134 insertions(+), 100 deletions(-) -- 2.38.1