projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd5717
)
f2fs: let's allow compression for mmap files
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 25 May 2021 18:10:53 +0000
(11:10 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 26 May 2021 14:00:36 +0000
(07:00 -0700)
This patch allows to compress mmap files. E.g., for so files.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/compress.c
b/fs/f2fs/compress.c
index ad30f8dde54171c21c12c8a1d313c412ce814403..279f79f4fb1c87ef0c6cf16027893c44e33c8aa0 100644
(file)
--- a/
fs/f2fs/compress.c
+++ b/
fs/f2fs/compress.c
@@
-952,8
+952,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))))