Messages in this thread Patch in this message | | | From | Jaegeuk Kim <> | Subject | [PATCH 1/2] f2fs: let's allow compression for mmap files | Date | Tue, 25 May 2021 13:49:54 -0700 |
| |
This patch allows to compress mmap files. E.g., for so files.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> --- fs/f2fs/compress.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/fs/f2fs/compress.c b/fs/f2fs/compress.c index 1189740aa141..bec92ff5ee7d 100644 --- a/fs/f2fs/compress.c +++ b/fs/f2fs/compress.c @@ -955,8 +955,6 @@ static bool cluster_may_compress(struct compress_ctx *cc) return false; if (f2fs_is_atomic_file(cc->inode)) return false; - if (f2fs_is_mmap_file(cc->inode)) - return false; if (!f2fs_cluster_is_full(cc)) return false; if (unlikely(f2fs_cp_error(F2FS_I_SB(cc->inode)))) -- 2.32.0.rc0.204.g9fa02ecfa5-goog
| |