mbox series

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

Message ID Y/004is4VtYI7G2u@google.com (mailing list archive)
State Mainlined
Commit 103830683cfc8f43b15158b0a48014b6d6e83633
Headers show
Series [f2fs-dev,GIT,PULL] f2fs update for 6.3-rc1 | expand

Pull-request

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

Message

Jaegeuk Kim Feb. 27, 2023, 10:55 p.m. UTC
Hi Linus,

Could you please consider this pull request?

Thanks,

The following changes since commit 512dee0c00ad9e9c7ae9f11fc6743702ea40caff:

  Merge tag 'x86-urgent-2023-01-04' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2023-01-04 12:11:29 -0800)

are available in the Git repository at:

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

for you to fetch changes up to ddf1eca4fc5a4038cb323306f51fbba34ce3f4d2:

  f2fs: drop unnecessary arg for f2fs_ioc_*() (2023-02-15 09:49:04 -0800)

----------------------------------------------------------------
f2fs-for-6.3-rc1

In this round, we've got a huge number of patches that improve code readability
along with minor bug fixes, while we've mainly fixed some critical issues in
recently-added per-block age-based extent_cache, atomic write support, and some
folio cases.

Enhancement:
 - add sysfs nodes to set last_age_weight and manage discard_io_aware_gran
 - show ipu policy in debugfs
 - reduce stack memory cost by using bitfield in struct f2fs_io_info
 - introduce trace_f2fs_replace_atomic_write_block
 - enhance iostat support and adds flush commands

Bug fix:
 - revert "f2fs: truncate blocks in batch in __complete_revoke_list()"
 - fix kernel crash on the atomic write abort flow
 - call clear_page_private_reference in .{release,invalid}_folio
 - support .migrate_folio for compressed inode
 - fix cgroup writeback accounting with fs-layer encryption
 - retry to update the inode page given data corruption
 - fix kernel crash due to null io->bio
 - fix some bugs in per-block age-based extent_cache:
    a. wrong calculation of block age
    b. update age extent in f2fs_do_zero_range()
    c. update age extent correctly during truncation

----------------------------------------------------------------
Alexander Potapenko (1):
      fs: f2fs: initialize fsdata in pagecache_write()

Chao Yu (17):
      f2fs: fix to support .migrate_folio for compressed inode
      f2fs: remove unused PAGE_PRIVATE_ATOMIC_WRITE
      f2fs: fix to call clear_page_private_reference in .{release,invalid}_folio
      f2fs: fix to avoid potential deadlock
      f2fs: add missing doc for fault injection sysfs
      f2fs: avoid to check PG_error flag
      f2fs: introduce trace_f2fs_replace_atomic_write_block
      f2fs: clear atomic_write_task in f2fs_abort_atomic_write()
      f2fs: remove unneeded f2fs_cp_error() in f2fs_create_whiteout()
      f2fs: fix to do sanity check on extent cache correctly
      f2fs: fix to abort atomic write only during do_exist()
      f2fs: reduce stack memory cost by using bitfield in struct f2fs_io_info
      f2fs: clean up i_compress_flag and i_compress_level usage
      f2fs: fix to handle F2FS_IOC_START_ATOMIC_REPLACE in f2fs_compat_ioctl()
      f2fs: fix to update age extent correctly during truncation
      f2fs: fix to update age extent in f2fs_do_zero_range()
      f2fs: fix to do sanity check on extent cache correctly

Christoph Hellwig (22):
      f2fs: don't rely on F2FS_MAP_* in f2fs_iomap_begin
      f2fs: decouple F2FS_MAP_ from buffer head flags
      f2fs: rename F2FS_MAP_UNWRITTEN to F2FS_MAP_DELALLOC
      f2fs: split __submit_bio
      f2fs: add a f2fs_lookup_extent_cache_block helper
      f2fs: add a f2fs_get_block_locked helper
      f2fs: f2fs_do_map_lock
      f2fs: reflow prepare_write_begin
      f2fs: simplify __allocate_data_block
      f2fs: remove f2fs_get_block
      f2fs: remove the create argument to f2fs_map_blocks
      f2fs: factor a f2fs_map_blocks_cached helper
      f2fs: factor out a f2fs_map_no_dnode
      f2fs: refactor the hole reporting and allocation logic in f2fs_map_blocks
      f2fs: remove __add_sum_entry
      f2fs: simplify do_checkpoint
      f2fs: add a f2fs_curseg_valid_blocks helper
      f2fs: refactor __allocate_new_segment
      f2fs: remove __allocate_new_section
      f2fs: refactor next blk selection
      f2fs: remove __has_curseg_space
      f2fs: factor the read/write tracing logic into a helper

Daeho Jeong (1):
      f2fs: synchronize atomic write aborts

Eric Biggers (2):
      f2fs: fix information leak in f2fs_move_inline_dirents()
      f2fs: fix cgroup writeback accounting with fs-layer encryption

Jaegeuk Kim (4):
      f2fs: retry to update the inode page given data corruption
      f2fs: fix kernel crash due to null io->bio
      f2fs: fix wrong segment count
      f2fs: Revert "f2fs: truncate blocks in batch in __complete_revoke_list()"

Jinyoung CHOI (1):
      f2fs: fix typos in comments

Sergey Shtylyov (1):
      f2fs: file: drop useless initializer in expand_inode_data()

Thomas Weißschuh (1):
      f2fs: make kobj_type structures constant

Yangtao Li (27):
      docs: f2fs: fix html doc error
      f2fs: introduce IS_F2FS_IPU_* macro
      MAINTAINERS: Add f2fs's patchwork
      f2fs: judge whether discard_unit is section only when have CONFIG_BLK_DEV_ZONED
      f2fs: mark f2fs_init_compress_mempool w/ __init
      f2fs: remove unnecessary blank lines
      f2fs: add a f2fs_ prefix to punch_hole() and expand_inode_data()
      f2fs: merge f2fs_show_injection_info() into time_to_inject()
      f2fs: convert to use MIN_DISCARD_GRANULARITY macro
      f2fs: convert discard_wake and gc_wake to bool type
      f2fs: support accounting iostat count and avg_bytes
      f2fs: add iostat support for flush
      f2fs: drop useless initializer and unneeded local variable
      f2fs: introduce discard_io_aware_gran sysfs node
      f2fs: fix to show discard_unit mount opt
      f2fs: clarify compress level bit offset
      f2fs: return true if all cmd were issued or no cmd need to be issued for f2fs_issue_discard_timeout()
      f2fs: fix to check warm_data_age_threshold
      f2fs: allow set compression option of files without blocks
      f2fs: fix to avoid potential memory corruption in __update_iostat_latency()
      f2fs: fix f2fs_show_options to show nogc_merge mount option
      f2fs: use iostat_lat_type directly as a parameter in the iostat_update_and_unbind_ctx()
      f2fs: fix to set ipu policy
      f2fs: add missing description for ipu_policy node
      f2fs: export ipu policy in debugfs
      f2fs: replace si->sbi w/ sbi in stat_show()
      f2fs: drop unnecessary arg for f2fs_ioc_*()

Yuwei Guan (1):
      f2fs: deliver the accumulated 'issued' to __issue_discard_cmd_orderly()

Zhang Qilong (1):
      f2fs: start freeing cluster pages from the unused number

qixiaoyu1 (2):
      f2fs: fix wrong calculation of block age
      f2fs: add sysfs nodes to set last_age_weight

 Documentation/ABI/testing/sysfs-fs-f2fs |  80 +++-
 Documentation/filesystems/f2fs.rst      |   2 +-
 MAINTAINERS                             |   1 +
 fs/f2fs/checkpoint.c                    |  37 +-
 fs/f2fs/compress.c                      |  24 +-
 fs/f2fs/data.c                          | 624 ++++++++++++++++----------------
 fs/f2fs/debug.c                         |  64 +++-
 fs/f2fs/dir.c                           |   4 +-
 fs/f2fs/extent_cache.c                  |  60 ++-
 fs/f2fs/f2fs.h                          | 128 +++----
 fs/f2fs/file.c                          | 173 ++++-----
 fs/f2fs/gc.c                            |  22 +-
 fs/f2fs/gc.h                            |   2 +-
 fs/f2fs/inline.c                        |  14 +-
 fs/f2fs/inode.c                         |  78 ++--
 fs/f2fs/iostat.c                        | 186 +++++-----
 fs/f2fs/iostat.h                        |  19 +-
 fs/f2fs/namei.c                         |   5 +-
 fs/f2fs/node.c                          |   9 +-
 fs/f2fs/segment.c                       | 225 ++++++------
 fs/f2fs/segment.h                       |  41 ++-
 fs/f2fs/super.c                         |  63 ++--
 fs/f2fs/sysfs.c                         |  49 ++-
 fs/f2fs/verity.c                        |   2 +-
 include/linux/f2fs_fs.h                 |   2 +-
 include/trace/events/f2fs.h             | 104 ++++--
 26 files changed, 1090 insertions(+), 928 deletions(-)

Comments

pr-tracker-bot@kernel.org Feb. 28, 2023, 12:25 a.m. UTC | #1
The pull request you sent on Mon, 27 Feb 2023 14:55:30 -0800:

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

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

Thank you!
patchwork-bot+f2fs@kernel.org Feb. 28, 2023, 1:01 a.m. UTC | #2
Hello:

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

On Mon, 27 Feb 2023 14:55:30 -0800 you wrote:
> Hi Linus,
> 
> Could you please consider this pull request?
> 
> Thanks,
> 
> The following changes since commit 512dee0c00ad9e9c7ae9f11fc6743702ea40caff:
> 
> [...]

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

You are awesome, thank you!