Message ID | 20221221121445.14400-1-chao@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp3491405wrn; Wed, 21 Dec 2022 04:20:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXsRBsclTWksGnVKRl/5e/Yefwg8/Sl8LwDNr5gMHtba9gyERM7fpsImEFdu/RpSp292nnMx X-Received: by 2002:a17:907:d38c:b0:7c0:b0f9:e360 with SMTP id vh12-20020a170907d38c00b007c0b0f9e360mr1141808ejc.16.1671625221761; Wed, 21 Dec 2022 04:20:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671625221; cv=none; d=google.com; s=arc-20160816; b=ezdZfEPE63UVbo7vK5z8Ix8u3FLKPGezxZFN6EDFe62uG0F7u/1wBmvUzUbPlUYnG7 pon1Ej/urhCGsiliyma+0l82H2UFCoMyX+3xXrsn7kuCk4Bsz1tdjILesL5i19wa9ph4 /8qKlD9GCfqKZ/O6eyVW/z3XOBdxpd0xbTs9o1sZfvrv/Odv7J2bf9P7GRZRN7LWew73 OhYSdM+kvfOg/D7t2EyWGu1OdgA0su6oc+ZJ1ebJo+x9+dgVMZ88YX6j4L/JvSvEbPak uGMH0Zw7DCQm8k4Lt9DlB2eSCmJHnizAkrvB3+2hnXSzH88KBxPNj5jD0HLr3sb5niE4 ZXpw== 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=vDMILgjo93gbeP8I7Suf0o+pT3pn9DuYJgRLp9u3gfE=; b=Df/mhA49tyJjlOLPQTomq0kMMVUpXWe/K6h+twYnMgaBSoCHUPfQzcOsEwxYNtbQdE Cbbk4Q6nfkc4VEcIP4PN30zQjHX+NZ4BxSCaO4kgb34ehINxNP4HVF75704nYKd9JU29 lTodC7mYEBv0nG6T7R8bpSAjH4aU5Twq3Bgh/ZhoyNRHfgambzYaPNx3SHe7MLN+UTdZ PDub6E7LZrlgwzBp3UR6i9SjSACCx4Ke7GoUmVbGhYlanfbuzbKTtbLIJGSrzxsVb3Yy PDZkLIp8Qawmq3AblT7hQFLDxNxEgU4HAxJlr0Dax17SvbO1egnnCkxCOqp/Jcy7q3RV Q0JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b4BuqnZ9; 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=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a1709065d0a00b007c18b7a922dsi15953793ejt.469.2022.12.21.04.19.57; Wed, 21 Dec 2022 04:20:21 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=b4BuqnZ9; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229979AbiLUMOz (ORCPT <rfc822;pacteraone@gmail.com> + 99 others); Wed, 21 Dec 2022 07:14:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbiLUMOx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 21 Dec 2022 07:14:53 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C369F22BE2 for <linux-kernel@vger.kernel.org>; Wed, 21 Dec 2022 04:14:52 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6E941B81983 for <linux-kernel@vger.kernel.org>; Wed, 21 Dec 2022 12:14:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2728FC433EF; Wed, 21 Dec 2022 12:14:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671624890; bh=xHeuYny/QiUYypo1l91/ZWGhfaqY5OXoUHg7oqTSwt0=; h=From:To:Cc:Subject:Date:From; b=b4BuqnZ9f7fXig9gfWkhZ4r0fC9Ka2RlZeZ3EGonvK9v4dpNo9GV3lUW9gMs5TXer IbPy63WfMasS8plSOoMQzjojtWoVk/xJWZuz1kz2R93h6aKeriu2OGg4giUG+4jYg9 HZ1hS4fWwbSUFEr3oH5QotXa3PUW9usoSuSnRUXu3ZnIOXuCNaZ+sZbKpq24uYreTg Lmh7GirSDLqkTIvG+QMuEtMgYhaYC2QUw4oPnki6ipFL6jeymnDn16f1eaqeu330cY dlty8GEhAXe091aV6SLyxoahyCDzDwEZFQWa/td83g9rHHoq+xjrimizn3u7bzebQO DPeBBTe+gk+mw== From: Chao Yu <chao@kernel.org> To: jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Chao Yu <chao@kernel.org> Subject: [PATCH] f2fs: fix to support .migrate_folio for compressed inode Date: Wed, 21 Dec 2022 20:14:45 +0800 Message-Id: <20221221121445.14400-1-chao@kernel.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752826088837085109?= X-GMAIL-MSGID: =?utf-8?q?1752826088837085109?= |
Series |
f2fs: fix to support .migrate_folio for compressed inode
|
|
Commit Message
Chao Yu
Dec. 21, 2022, 12:14 p.m. UTC
Add missed .migrate_folio for compressed inode, in order to support
migration of compressed inode's page.
Signed-off-by: Chao Yu <chao@kernel.org>
---
fs/f2fs/compress.c | 1 +
1 file changed, 1 insertion(+)
Comments
Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <jaegeuk@kernel.org>: On Wed, 21 Dec 2022 20:14:45 +0800 you wrote: > Add missed .migrate_folio for compressed inode, in order to support > migration of compressed inode's page. > > Signed-off-by: Chao Yu <chao@kernel.org> > --- > fs/f2fs/compress.c | 1 + > 1 file changed, 1 insertion(+) Here is the summary with links: - [f2fs-dev] f2fs: fix to support .migrate_folio for compressed inode https://git.kernel.org/jaegeuk/f2fs/c/f35474ec0059 You are awesome, thank you!
diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 2532f369cb10..719b0a0184b0 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -1813,6 +1813,7 @@ unsigned int f2fs_cluster_blocks_are_contiguous(struct dnode_of_data *dn) const struct address_space_operations f2fs_compress_aops = { .release_folio = f2fs_release_folio, .invalidate_folio = f2fs_invalidate_folio, + .migrate_folio = filemap_migrate_folio, }; struct address_space *COMPRESS_MAPPING(struct f2fs_sb_info *sbi)