Do we have some limit that we must use exported symbol to make f2fs must can
load as a module? If no, maybe we can just use truncate_inode_page to replace
generic_error_remove_page ?
> -Original Message-
> From: 常凤楠
> Sent: Wednesday, November 24, 2021 4:39 PM
> To: jaeg...@kernel.org; c
Since compress inode not a regular file, generic_error_remove_page in
f2fs_invalidate_compress_pages will always be failed, set compress
inode as a regular file to fix it.
Signed-off-by: Fengnan Chang
---
fs/f2fs/inode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/f2fs/inode.c b/fs/f2
Previously, compressed page cache drop when clean page cache, but
POSIX_FADV_DONTNEED can't clean compressed page cache, this commit
try to support it.
Signed-off-by: Fengnan Chang
---
fs/f2fs/compress.c | 10 --
fs/f2fs/f2fs.h | 7 ---
2 files changed, 12 insertions(+), 5 delet