[GIT PULL] f2fs update for 5.12-rc1
From: Jaegeuk Kim
Date: Wed Feb 17 2021 - 15:30:57 EST
Hi Linus,
Could you please consider this pull request?
Thanks,
The following changes since commit 76c057c84d286140c6c416c3b4ba832cd1d8984e:
Merge branch 'parisc-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2021-01-27 11:06:15 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-5.12-rc1
for you to fetch changes up to 092af2eb180062f5bafe02a75da9856676eb4f89:
Documentation: f2fs: fix typo s/automaic/automatic (2021-02-16 07:58:35 -0800)
----------------------------------------------------------------
f2fs-for-5.12-rc1
We've added two major features: 1) compression level and 2) checkpoint_merge, in
this round. 1) compression level expands 'compress_algorithm' mount option to
accept parameter as format of <algorithm>:<level>, by this way, it gives a way
to allow user to do more specified config on lz4 and zstd compression level,
then f2fs compression can provide higher compress ratio. 2) checkpoint_merge
creates a kernel daemon and makes it to merge concurrent checkpoint requests as
much as possible to eliminate redundant checkpoint issues. Plus, we can
eliminate the sluggish issue caused by slow checkpoint operation when the
checkpoint is done in a process context in a cgroup having low i/o budget and
cpu shares.
Enhancement:
- add compress level for lz4 and zstd in mount option
- checkpoint_merge mount option
- deprecate f2fs_trace_io
Bug fix:
- flush data when enabling checkpoint back
- handle corner cases of mount options
- missing ACL update and lock for I_LINKABLE flag
- attach FIEMAP_EXTENT_MERGED in f2fs_fiemap
- fix potential deadlock in compression flow
- fix wrong submit_io condition
As usual, we've cleaned up many code flows and fixed minor bugs.
----------------------------------------------------------------
Chao Yu (13):
f2fs: enhance to update i_mode and acl atomically in f2fs_setattr()
f2fs: enforce the immutable flag on open files
f2fs: relocate f2fs_precache_extents()
f2fs: compress: deny setting unsupported compress algorithm
f2fs: compress: support compress level
f2fs: introduce a new per-sb directory in sysfs
f2fs: fix to tag FIEMAP_EXTENT_MERGED in f2fs_fiemap()
f2fs: fix out-of-repair __setattr_copy()
f2fs: trival cleanup in move_data_block()
f2fs: fix to set/clear I_LINKABLE under i_lock
f2fs: compress: fix potential deadlock
f2fs: introduce sb_status sysfs node
f2fs: relocate inline conversion from mmap() to mkwrite()
Chengguang Xu (1):
f2fs: fix to use per-inode maxbytes
Daeho Jeong (3):
f2fs: fix null page reference in redirty_blocks
f2fs: introduce checkpoint_merge mount option
f2fs: add ckpt_thread_ioprio sysfs node
Dehe Gu (1):
f2fs: fix a wrong condition in __submit_bio
Ed Tsai (1):
Documentation: f2fs: fix typo s/automaic/automatic
Eric Biggers (2):
f2fs: clean up post-read processing
libfs: unexport generic_ci_d_compare() and generic_ci_d_hash()
Jack Qiu (1):
f2fs: remove unused stat_{inc, dec}_atomic_write
Jaegeuk Kim (5):
f2fs: handle unallocated section and zone on pinned/atgc
f2fs: deprecate f2fs_trace_io
f2fs: flush data when enabling checkpoint back
f2fs: don't grab superblock freeze for flush/ckpt thread
f2fs: give a warning only for readonly partition
Liu Song (1):
f2fs: remove unnecessary initialization in xattr.c
Matthew Wilcox (Oracle) (1):
f2fs: Remove readahead collision detection
Weichao Guo (1):
f2fs: fix to set inode->i_mode correctly for posix_acl_update_mode
Yi Chen (1):
f2fs: fix to avoid inconsistent quota data
Zheng Yongjun (1):
f2fs: Replace expression with offsetof()
Documentation/ABI/testing/sysfs-fs-f2fs | 32 +++
Documentation/filesystems/f2fs.rst | 18 +-
fs/f2fs/Kconfig | 20 +-
fs/f2fs/Makefile | 1 -
fs/f2fs/acl.c | 23 +-
fs/f2fs/checkpoint.c | 177 +++++++++++++-
fs/f2fs/compress.c | 195 +++++++++++----
fs/f2fs/data.c | 404 ++++++++++++--------------------
fs/f2fs/debug.c | 12 +
fs/f2fs/f2fs.h | 104 ++++++--
fs/f2fs/file.c | 57 +++--
fs/f2fs/gc.c | 8 +-
fs/f2fs/inline.c | 4 +
fs/f2fs/namei.c | 8 +
fs/f2fs/node.c | 4 +-
fs/f2fs/segment.c | 7 -
fs/f2fs/segment.h | 4 +-
fs/f2fs/super.c | 198 +++++++++++++---
fs/f2fs/sysfs.c | 132 ++++++++++-
fs/f2fs/trace.c | 165 -------------
fs/f2fs/trace.h | 43 ----
fs/f2fs/xattr.c | 23 +-
fs/libfs.c | 8 +-
include/linux/f2fs_fs.h | 3 +
include/linux/fs.h | 5 -
25 files changed, 1036 insertions(+), 619 deletions(-)
delete mode 100644 fs/f2fs/trace.c
delete mode 100644 fs/f2fs/trace.h