Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3916480rwb; Tue, 16 Aug 2022 10:54:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR7MqPgqCXrbft6BtQa1iv/H9sdtZWhheJYSMHT3LY+MKprlEZUqRnLG8Q/v6ozaBL8oP6c1 X-Received: by 2002:aa7:80d0:0:b0:52d:f9c6:bb14 with SMTP id a16-20020aa780d0000000b0052df9c6bb14mr22226524pfn.57.1660672476907; Tue, 16 Aug 2022 10:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660672476; cv=none; d=google.com; s=arc-20160816; b=L6yL61pmTmmSq78QcjVK8PWPfkzmtbf7RbPbRv3H+BRdt75RCrA7jwVMnEf0VcKG9I 2htmonFP+CjhnYAcx5pABQop3GzJrOpbdDlYe9jNjsdp3E6V/7rN8o1fHM3l+J0g0Nte B/weL475OWrrigb6/qVio5sDoBDm5AAG469i0eQeBAQplhPUhYBC35WH+ZcGYNBPPxBo /HOvjwsEL1AIO/trt3oH4FRLEjJt/BqWIQH29wjqS/SKQ5rJLyReG2mzAtLRo+HE+c69 FUUmhAChicIFxn35QxRUk0JuhC2KAU19NQgJ6eRnWF6Yj9ggOKy3+BtqRJq5z433fcVp lJCw== 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=vqWu9nIMNs2OYllxNa/lgOV5pa8uiLhr0uktPZgpEhc=; b=A5VJntNKIEn8tTSJoftIlhx0AkYD8IcwCds+5MMVBMmQDIKMhxiKBS2b4LNK0HAw95 +eWv4lmsjfJIsz/PdIJm2fHJi3T3ZTPCm6M7VBIaxS7FCRQCUtSQNijoXBhQt8GtmVpa uqL4IJdfI6DFL5a9rbuz1xdYLAIDDbDkmQndDVjCf1wG0kQAd2tmPi9ufsNRyTHBinim GeIPpvN/DX16ZdTWY6iSDkdT2tbuU/qfRBSjpyF4jvedwv2xeKSiT7BThhHgEv83CwwM 19i1QY+vNZYhOekSbzNHcJ6LpRF5Ur0tdBm6qRJi/LjF3Ljp22OqYO0EYyvZFIYlNSH1 /5ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JJCfNmBZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gf23-20020a17090ac7d700b001ecd30c59c3si1171757pjb.85.2022.08.16.10.54.25; Tue, 16 Aug 2022 10:54:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20210112 header.b=JJCfNmBZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236372AbiHPRxY (ORCPT + 99 others); Tue, 16 Aug 2022 13:53:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236267AbiHPRxU (ORCPT ); Tue, 16 Aug 2022 13:53:20 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA9C957E1F; Tue, 16 Aug 2022 10:53:18 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id pm17so10367229pjb.3; Tue, 16 Aug 2022 10:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=vqWu9nIMNs2OYllxNa/lgOV5pa8uiLhr0uktPZgpEhc=; b=JJCfNmBZtK7Rg0LXuekIXzocFyEbiUou4havkGQOMvUoSdfxVx8XppTLKJTOFqUZx5 hta/gDv8tA7m2h/EMpdDQjY/WBac8uFD2WO8SklWF4kOI0kf2SQCzx7txtv3r2gE83u9 r324iX+CFT0tepJ2GssUIre+HbXMmMh5tO6NODLP4obrp9z7fdBzbpA6465pvcUBO5DC ByknkvBBsLQh4zIdTwXT0OEHCt9ZiQ2srmS8ChuKTITaTBE/jBiXatN+/xfGvnEVOl+q uC40CwHcJ2i7TBvHjRD+vMrN1gNxcFfEJX0Mh8wFWqgJJn6xvbeN0VnyzqxL4qx0tnVV pI9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=vqWu9nIMNs2OYllxNa/lgOV5pa8uiLhr0uktPZgpEhc=; b=grhNIMja8eUfTHG5t8BsvzE8NvAaBryCld7vF2dwW6jEOVUa70UPiR006UBKadvX6+ BAJ94HmWxBYyQtSfFanTm7aWIyRNW6uFjxoX/stOnwarsfICvOtr47y0j/uQjr/kSyoB UIZ1ya486kSUG1rZoYS806K1sh3hRpw+lglnXXyzUY0qRnKMCRUuSNdlY9v0DnBj6L+f XT8NIszd+Wr6ZjhF/87sK+vdgKgsh2EHIWQB6x/g0zIuCEJU7IW2S4ZW6FXVc6/ZKz/I eGdBZDDJzPGF+QJDBEtYQafDrsx2cgFk74/W2MI/YCJl43CVUsICHRY5YsOxCAPhpTIb ygmg== X-Gm-Message-State: ACgBeo3gUTadX4IWnGSCb3FwR/jbKbU8n5uUVOhqzH5pc7cCgdAfvmDp lJHDo0XGOgxVyXRN91LaVuoctYh3C0Nhwhhg X-Received: by 2002:a17:902:c1c4:b0:171:38ab:e761 with SMTP id c4-20020a170902c1c400b0017138abe761mr23726924plc.65.1660672398038; Tue, 16 Aug 2022 10:53:18 -0700 (PDT) Received: from vmfolio.. (c-73-189-111-8.hsd1.ca.comcast.net. [73.189.111.8]) by smtp.googlemail.com with ESMTPSA id mi4-20020a17090b4b4400b001f52fa1704csm3379963pjb.3.2022.08.16.10.53.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 10:53:17 -0700 (PDT) From: "Vishal Moola (Oracle)" To: linux-fsdevel@vger.kernel.org Cc: linux-btrfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Vishal Moola (Oracle)" Subject: [PATCH v2 0/7] Convert to filemap_get_folios_contig() Date: Tue, 16 Aug 2022 10:52:39 -0700 Message-Id: <20220816175246.42401-1-vishal.moola@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,SUSPICIOUS_RECIPS, T_SCC_BODY_TEXT_LINE autolearn=no 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-kernel@vger.kernel.org This patch series replaces find_get_pages_contig() with filemap_get_folios_contig(). I've run xfstests on btrfs. I've also tested the ramfs changes. I ran some xfstests on nilfs2, and its seemingly fine although more testing may be beneficial. --- v2: - Removed an unused label in nilfs2 Vishal Moola (Oracle) (7): filemap: Add filemap_get_folios_contig() btrfs: Convert __process_pages_contig() to use filemap_get_folios_contig() btrfs: Convert end_compressed_writeback() to use filemap_get_folios() btrfs: Convert process_page_range() to use filemap_get_folios_contig() nilfs2: Convert nilfs_find_uncommited_extent() to use filemap_get_folios_contig() ramfs: Convert ramfs_nommu_get_unmapped_area() to use filemap_get_folios_contig() filemap: Remove find_get_pages_contig() fs/btrfs/compression.c | 26 ++++++------ fs/btrfs/extent_io.c | 33 +++++++-------- fs/btrfs/subpage.c | 2 +- fs/btrfs/tests/extent-io-tests.c | 31 +++++++------- fs/nilfs2/page.c | 39 ++++++++---------- fs/ramfs/file-nommu.c | 50 ++++++++++++---------- include/linux/pagemap.h | 4 +- mm/filemap.c | 71 +++++++++++++++++++------------- 8 files changed, 134 insertions(+), 122 deletions(-) -- 2.36.1