mbox series

[f2fs-dev,GIT,PULL] f2fs update for 6.9-rc1

Message ID ZfiBt0gRe_Elp7hE@google.com (mailing list archive)
State Mainlined
Commit c5d9ab85ebf3a42d5127ffdedf9094325465e852
Headers show
Series [f2fs-dev,GIT,PULL] f2fs update for 6.9-rc1 | expand

Pull-request

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

Message

Jaegeuk Kim March 18, 2024, 6:02 p.m. UTC
Hi Linus,

Could you please consider this pull request?

Thanks,

The following changes since commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478:

  Linux 6.8-rc3 (2024-02-04 12:20:36 +0000)

are available in the Git repository at:

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

for you to fetch changes up to eb70d5a6c932d9d23f4bb3e7b83782c21ac4b064:

  f2fs: fix to avoid use-after-free issue in f2fs_filemap_fault (2024-03-14 09:14:53 -0700)

----------------------------------------------------------------
f2fs update for 6.9-rc1

In this round, there are a number of updates on mainly two areas: Zoned block
device support and Per-file compression. For example, we've found several issues
to support Zoned block device especially having large sections regarding to GC
and file pinning used for Android devices. In compression side, we've fixed many
corner race conditions that had broken the design assumption.

Enhancement:
 - Support file pinning for Zoned block device having large section
 - Enhance the data recovery after sudden power cut on Zoned block device
 - Add more error injection cases to easily detect the kernel panics
 - add a proc entry show the entire disk layout
 - Improve various error paths paniced by BUG_ON in block allocation and GC
 - support SEEK_DATA and SEEK_HOLE for compression files

Bug fix:
 - fix to avoid use-after-free issue in f2fs_filemap_fault
 - fix some race conditions to break the atomic write design assumption
 - fix to truncate meta inode pages forcely
 - resolve various per-file compression issues wrt the space management and
   compression policies
 - fix some swap-related bugs

In addition, we removed deprecated codes such as io_bits and heap_allocation,
and also fixed minor error handling routines with neat debugging messages.

----------------------------------------------------------------
Chao Yu (29):
      f2fs: compress: fix to guarantee persisting compressed blocks by CP
      f2fs: compress: fix to cover normal cluster write with cp_rwsem
      f2fs: compress: fix to avoid inconsistence bewteen i_blocks and dnode
      f2fs: fix to remove unnecessary f2fs_bug_on() to avoid panic
      f2fs: introduce FAULT_BLKADDR_CONSISTENCE
      f2fs: zone: fix to wait completion of last bio in zone correctly
      f2fs: support printk_ratelimited() in f2fs_printk()
      f2fs: use f2fs_err_ratelimited() to avoid redundant logs
      f2fs: compress: fix to cover f2fs_disable_compressed_file() w/ i_sem
      f2fs: fix to avoid potential panic during recovery
      f2fs: fix to create selinux label during whiteout initialization
      f2fs: compress: fix to check zstd compress level correctly in mount option
      f2fs: introduce get_available_block_count() for cleanup
      f2fs: delete f2fs_get_new_segment() declaration
      f2fs: fix to handle segment allocation failure correctly
      f2fs: compress: fix to check compress flag w/ .i_sem lock
      f2fs: introduce FAULT_NO_SEGMENT
      f2fs: fix to use correct segment type in f2fs_allocate_data_block()
      f2fs: fix to check return value in f2fs_insert_range()
      f2fs: ro: compress: fix to avoid caching unaligned extent
      f2fs: ro: don't start discard thread for readonly image
      f2fs: fix blkofs_end correctly in f2fs_migrate_blocks()
      f2fs: relocate f2fs_precache_extents() in f2fs_swap_activate()
      f2fs: clean up new_curseg()
      f2fs: fix to reset fields for unloaded curseg
      f2fs: introduce SEGS_TO_BLKS/BLKS_TO_SEGS for cleanup
      f2fs: fix to truncate meta inode pages forcely
      f2fs: zone: fix to remove pow2 check condition for zoned block device
      f2fs: fix to avoid use-after-free issue in f2fs_filemap_fault

Daeho Jeong (4):
      f2fs: separate f2fs_gc_range() to use GC for a range
      f2fs: support SEEK_DATA and SEEK_HOLE for compression files
      f2fs: support file pinning for zoned devices
      f2fs: prevent atomic write on pinned file

HuangXiaojia (1):
      f2fs: Use folio in f2fs_read_merkle_tree_page

Jaegeuk Kim (10):
      f2fs: remove unnecessary f2fs_put_page in f2fs_rename
      f2fs: deprecate io_bits
      f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SEC
      f2fs: kill heap-based allocation
      f2fs: prevent an f2fs_gc loop during disable_checkpoint
      f2fs: check number of blocks in a current section
      f2fs: fix write pointers all the time
      f2fs: print zone status in string and some log
      f2fs: allow to mount if cap is 100
      f2fs: add a proc entry show disk layout

Jeffrey Hugo (1):
      f2fs: doc: Fix bouncing email address for Sahitya Tummala

Sheng Yong (1):
      f2fs: compress: fix to check unreleased compressed cluster

Sunmin Jeong (2):
      f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag
      f2fs: truncate page cache before clearing flags when aborting atomic write

Wenjie Qi (1):
      f2fs: fix NULL pointer dereference in f2fs_submit_page_write()

Wu Bo (1):
      f2fs: check free sections before disable checkpoint

Xiuhong Wang (2):
      f2fs: compress: relocate some judgments in f2fs_reserve_compress_blocks
      f2fs: compress: fix reserve_cblocks counting error when out of space

Zhiguo Niu (8):
      f2fs: compress: remove some redundant codes in f2fs_cache_compressed_page
      f2fs: use IS_INODE replace IS_DNODE in f2fs_flush_inline_data
      f2fs: stop checkpoint when get a out-of-bounds segment
      f2fs: fix to do sanity check in update_sit_entry
      f2fs: fix to check return value __allocate_new_segment
      f2fs: fix to check return value of f2fs_gc_range
      f2fs: unify the error handling of f2fs_is_valid_blkaddr
      f2fs: fix to handle error paths of {new,change}_curseg()

 Documentation/ABI/testing/sysfs-fs-f2fs |  52 ++--
 Documentation/filesystems/f2fs.rst      |  54 ++--
 fs/f2fs/checkpoint.c                    |  74 +++---
 fs/f2fs/compress.c                      |  55 ++--
 fs/f2fs/data.c                          | 191 +++++---------
 fs/f2fs/debug.c                         |  11 +-
 fs/f2fs/dir.c                           |  10 +-
 fs/f2fs/extent_cache.c                  |   5 +-
 fs/f2fs/f2fs.h                          | 241 ++++++++++-------
 fs/f2fs/file.c                          | 171 +++++++-----
 fs/f2fs/gc.c                            | 129 +++++-----
 fs/f2fs/gc.h                            |   4 +-
 fs/f2fs/namei.c                         |  36 +--
 fs/f2fs/node.c                          |  26 +-
 fs/f2fs/node.h                          |   4 +-
 fs/f2fs/recovery.c                      |  56 ++--
 fs/f2fs/segment.c                       | 444 ++++++++++++++++++++------------
 fs/f2fs/segment.h                       |  90 ++++---
 fs/f2fs/super.c                         | 208 +++++----------
 fs/f2fs/sysfs.c                         |  52 +++-
 fs/f2fs/verity.c                        |  16 +-
 include/linux/f2fs_fs.h                 |   8 +-
 22 files changed, 1054 insertions(+), 883 deletions(-)

Comments

pr-tracker-bot@kernel.org March 18, 2024, 7:21 p.m. UTC | #1
The pull request you sent on Mon, 18 Mar 2024 11:02:31 -0700:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c5d9ab85ebf3a42d5127ffdedf9094325465e852

Thank you!
patchwork-bot+f2fs@kernel.org March 18, 2024, 8:45 p.m. UTC | #2
Hello:

This pull request was applied to jaegeuk/f2fs.git (dev)
by Linus Torvalds <torvalds@linux-foundation.org>:

On Mon, 18 Mar 2024 11:02:31 -0700 you wrote:
> Hi Linus,
> 
> Could you please consider this pull request?
> 
> Thanks,
> 
> The following changes since commit 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478:
> 
> [...]

Here is the summary with links:
  - [f2fs-dev,GIT,PULL] f2fs update for 6.9-rc1
    https://git.kernel.org/jaegeuk/f2fs/c/c5d9ab85ebf3

You are awesome, thank you!