linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zhang Yi <yi.zhang@huaweicloud.com>
To: linux-ext4@vger.kernel.org
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	tytso@mit.edu, adilger.kernel@dilger.ca, jack@suse.cz,
	yi.zhang@huawei.com, yi.zhang@huaweicloud.com,
	libaokun1@huawei.com, yukuai3@huawei.com, yangerkun@huawei.com
Subject: [PATCH 09/13] ext4: rename mext_page_mkuptodate() to mext_folio_mkuptodate()
Date: Tue, 23 Sep 2025 09:27:19 +0800	[thread overview]
Message-ID: <20250923012724.2378858-10-yi.zhang@huaweicloud.com> (raw)
In-Reply-To: <20250923012724.2378858-1-yi.zhang@huaweicloud.com>

From: Zhang Yi <yi.zhang@huawei.com>

mext_page_mkuptodate() no longer works on a single page, so rename it to
mext_folio_mkuptodate().

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
---
 fs/ext4/move_extent.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c
index 580d77e51a4c..5faa55109570 100644
--- a/fs/ext4/move_extent.c
+++ b/fs/ext4/move_extent.c
@@ -165,7 +165,7 @@ mext_folio_double_lock(struct inode *inode1, struct inode *inode2,
 }
 
 /* Force folio buffers uptodate w/o dropping folio's lock */
-static int mext_page_mkuptodate(struct folio *folio, size_t from, size_t to)
+static int mext_folio_mkuptodate(struct folio *folio, size_t from, size_t to)
 {
 	struct inode *inode = folio->mapping->host;
 	sector_t block;
@@ -358,7 +358,7 @@ move_extent_per_page(struct file *o_filp, struct inode *donor_inode,
 data_copy:
 	from = offset_in_folio(folio[0],
 			       orig_blk_offset << orig_inode->i_blkbits);
-	*err = mext_page_mkuptodate(folio[0], from, from + replaced_size);
+	*err = mext_folio_mkuptodate(folio[0], from, from + replaced_size);
 	if (*err)
 		goto unlock_folios;
 
-- 
2.46.1


  parent reply	other threads:[~2025-09-23  1:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-23  1:27 [PATCH 00/13] ext4: optimize online defragment Zhang Yi
2025-09-23  1:27 ` [PATCH 01/13] ext4: fix an off-by-one issue during moving extents Zhang Yi
2025-09-23  1:27 ` [PATCH 02/13] ext4: correct the checking of quota files before " Zhang Yi
2025-09-23  1:27 ` [PATCH 03/13] ext4: introduce seq counter for the extent status entry Zhang Yi
2025-09-23  1:27 ` [PATCH 04/13] ext4: make ext4_es_lookup_extent() pass out the extent seq counter Zhang Yi
2025-09-23  1:27 ` [PATCH 05/13] ext4: pass out extent seq counter when mapping blocks Zhang Yi
2025-09-23  1:27 ` [PATCH 06/13] ext4: use EXT4_B_TO_LBLK() in mext_check_arguments() Zhang Yi
2025-09-23  1:27 ` [PATCH 07/13] ext4: add mext_check_validity() to do basic check Zhang Yi
2025-09-23  1:27 ` [PATCH 08/13] ext4: refactor mext_check_arguments() Zhang Yi
2025-09-23  1:27 ` Zhang Yi [this message]
2025-09-23  1:27 ` [PATCH 10/13] ext4: introduce mext_move_extent() Zhang Yi
2025-09-23  1:27 ` [PATCH 11/13] ext4: switch to using the new extent movement method Zhang Yi
2025-09-23  1:27 ` [PATCH 12/13] ext4: add large folios support for moving extents Zhang Yi
2025-09-23  1:27 ` [PATCH 13/13] ext4: add two trace points " Zhang Yi
2025-09-23  6:49 ` [syzbot ci] Re: ext4: optimize online defragment syzbot ci

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250923012724.2378858-10-yi.zhang@huaweicloud.com \
    --to=yi.zhang@huaweicloud.com \
    --cc=adilger.kernel@dilger.ca \
    --cc=jack@suse.cz \
    --cc=libaokun1@huawei.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tytso@mit.edu \
    --cc=yangerkun@huawei.com \
    --cc=yi.zhang@huawei.com \
    --cc=yukuai3@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).