Skip to contentSkip to conversation

f2fs: fix to support .migrate_folio for compressed inode

PATCH Applied Chao Yu 2 participants 2 messages Dec 21, 2022 – Jan 9, 2023 F2FS file system

lore
Share & tools
lore

Chao Yu

author maintainer
#0 lore raw

PATCH 1/1 f2fs: fix to support .migrate_folio for compressed inode

Add missed .migrate_folio for compressed inode, in order to support migration of compressed inode's page.

---
 fs/f2fs/compress.c | 1 +
 1 file changed, 1 insertion(+)
fs/f2fs/compress.c +1 -0
index 2532f369cb10..719b0a0184b0 100644
@@ -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)
Signature · 1 line
2.36.1
#1 lore raw
This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <[email protected]>:

Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <[email protected]>:

Quoted 7 lines · 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.

---
 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!

Signature · 10 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html




_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel