[GIT PULL] f2fs update for 6.6

From: Jaegeuk Kim
Date: Fri Sep 01 2023 - 20:01:13 EST


Hi Linus,

Could you please consider this pull request?

Thanks,

The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-6-6-rc1

for you to fetch changes up to 3b7166121402a5062d18dcf4e3bce083fb9e4201:

f2fs: use finish zone command when closing a zone (2023-08-25 10:30:37 -0700)

----------------------------------------------------------------
f2fs update for 6.6-rc1

In this cycle, we don't have a highlighted feature enhancement, but mostly
have fixed issues mainly in two parts: 1) zoned block device, 2) compression
support. For zoned block device, we've tried to improve the power-off recovery
flow as much as possible. For compression, we found some corner cases caused by
wrong compression policy and logics. Other than them, there were some reverts
and stat corrections.

Bug fix:
- use finish zone command when closing a zone
- check zone type before sending async reset zone command
- fix to assign compress_level for lz4 correctly
- fix error path of f2fs_submit_page_read()
- don't {,de}compress non-full cluster
- send small discard commands during checkpoint back
- flush inode if atomic file is aborted
- correct to account gc/cp stats

And, there are minor bug fixes, avoiding false lockdep warning, and clean-ups.

----------------------------------------------------------------
Chao Yu (14):
f2fs: don't handle error case of f2fs_compress_alloc_page()
f2fs: fix to avoid mmap vs set_compress_option case
f2fs: allow f2fs_ioc_{,de}compress_file to be interrupted
f2fs: compress: don't {,de}compress non-full cluster
Revert "f2fs: fix to do sanity check on extent cache correctly"
f2fs: fix to update i_ctime in __f2fs_setxattr()
f2fs: remove unneeded check condition in __f2fs_setxattr()
f2fs: fix to account gc stats correctly
f2fs: fix to account cp stats correctly
f2fs: doc: fix description of max_small_discards
Revert "f2fs: do not issue small discard commands during checkpoint"
f2fs: clean up error handling in sanity_check_{compress_,}inode()
f2fs: fix error path of f2fs_submit_page_read()
f2fs: compress: fix to assign compress_level for lz4 correctly

Christoph Hellwig (1):
f2fs: don't reopen the main block device in f2fs_scan_devices

Chunhai Guo (1):
f2fs: Only lfs mode is allowed with zoned block device feature

Daeho Jeong (1):
f2fs: use finish zone command when closing a zone

Jaegeuk Kim (4):
Revert "f2fs: clean up w/ sbi->log_sectors_per_block"
f2fs: flush inode if atomic file is aborted
f2fs: get out of a repeat loop when getting a locked data page
f2fs: avoid false alarm of circular locking

Minjie Du (1):
f2fs: increase usage of folio_next_index() helper

Randy Dunlap (1):
f2fs: fix spelling in ABI documentation

Shin'ichiro Kawasaki (1):
f2fs: check zone type before sending async reset zone command

Zhiguo Niu (1):
f2fs: should update REQ_TIME for direct write

Documentation/ABI/testing/sysfs-fs-f2fs | 14 ++---
fs/f2fs/checkpoint.c | 2 +-
fs/f2fs/compress.c | 14 +----
fs/f2fs/data.c | 14 +++--
fs/f2fs/debug.c | 33 +++++++++---
fs/f2fs/f2fs.h | 96 +++++++++++++++++++++------------
fs/f2fs/file.c | 60 +++++++++++++++------
fs/f2fs/gc.c | 18 ++++---
fs/f2fs/inline.c | 3 +-
fs/f2fs/inode.c | 35 ++++--------
fs/f2fs/recovery.c | 1 +
fs/f2fs/segment.c | 89 +++++++++++++++++++-----------
fs/f2fs/super.c | 41 +++++++-------
fs/f2fs/sysfs.c | 18 +++++--
fs/f2fs/xattr.c | 6 +--
15 files changed, 268 insertions(+), 176 deletions(-)