Merge tag 'f2fs-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
Pull f2fs updates from Jaegeuk Kim: "In this round, we've added two features: F2FS_IOC_START_ATOMIC_REPLACE and a per-block age-based extent cache. F2FS_IOC_START_ATOMIC_REPLACE is a variant of the previous atomic write feature which guarantees a per-file atomicity. It would be more efficient than AtomicFile implementation in Android framework. The per-block age-based extent cache implements another type of extent cache in memory which keeps the per-block age in a file, so that block allocator could split the hot and cold data blocks more accurately. Enhancements: - introduce F2FS_IOC_START_ATOMIC_REPLACE - refactor extent_cache to add a new per-block-age-based extent cache support - introduce discard_urgent_util, gc_mode, max_ordered_discard sysfs knobs - add proc entry to show discard_plist info - optimize iteration over sparse directories - add barrier mount option Bug fixes: - avoid victim selection from previous victim section - fix to enable compress for newly created file if extension matches - set zstd compress level correctly - initialize locks early in f2fs_fill_super() to fix bugs reported by syzbot - correct i_size change for atomic writes - allow to read node block after shutdown - allow to set compression for inlined file - fix gc mode when gc_urgent_high_remaining is 1 - should put a page when checking the summary info Minor fixes and various clean-ups in GC, discard, debugfs, sysfs, and doc" * tag 'f2fs-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (63 commits) f2fs: reset wait_ms to default if any of the victims have been selected f2fs: fix some format WARNING in debug.c and sysfs.c f2fs: don't call f2fs_issue_discard_timeout() when discard_cmd_cnt is 0 in f2fs_put_super() f2fs: fix iostat parameter for discard f2fs: Fix spelling mistake in label: free_bio_enrty_cache -> free_bio_entry_cache f2fs: add block_age-based extent cache f2fs: allocate the extent_cache by default f2fs: refactor extent_cache to support for read and more f2fs: remove unnecessary __init_extent_tree f2fs: move internal functions into extent_cache.c f2fs: specify extent cache for read explicitly f2fs: introduce f2fs_is_readonly() for readability f2fs: remove F2FS_SET_FEATURE() and F2FS_CLEAR_FEATURE() macro f2fs: do some cleanup for f2fs module init MAINTAINERS: Add f2fs bug tracker link f2fs: remove the unused flush argument to change_curseg f2fs: open code allocate_segment_by_default f2fs: remove struct segment_allocation default_salloc_ops f2fs: introduce discard_urgent_util sysfs node f2fs: define MIN_DISCARD_GRANULARITY macro ...
No related branches found
No related tags found
Showing
- Documentation/ABI/testing/sysfs-fs-f2fs 41 additions, 6 deletionsDocumentation/ABI/testing/sysfs-fs-f2fs
- Documentation/filesystems/f2fs.rst 12 additions, 1 deletionDocumentation/filesystems/f2fs.rst
- MAINTAINERS 1 addition, 0 deletionsMAINTAINERS
- fs/f2fs/checkpoint.c 8 additions, 1 deletionfs/f2fs/checkpoint.c
- fs/f2fs/compress.c 7 additions, 41 deletionsfs/f2fs/compress.c
- fs/f2fs/data.c 29 additions, 25 deletionsfs/f2fs/data.c
- fs/f2fs/debug.c 88 additions, 43 deletionsfs/f2fs/debug.c
- fs/f2fs/dir.c 25 additions, 11 deletionsfs/f2fs/dir.c
- fs/f2fs/extent_cache.c 510 additions, 183 deletionsfs/f2fs/extent_cache.c
- fs/f2fs/f2fs.h 152 additions, 126 deletionsfs/f2fs/f2fs.h
- fs/f2fs/file.c 32 additions, 14 deletionsfs/f2fs/file.c
- fs/f2fs/gc.c 43 additions, 36 deletionsfs/f2fs/gc.c
- fs/f2fs/inode.c 13 additions, 7 deletionsfs/f2fs/inode.c
- fs/f2fs/namei.c 192 additions, 199 deletionsfs/f2fs/namei.c
- fs/f2fs/node.c 11 additions, 8 deletionsfs/f2fs/node.c
- fs/f2fs/node.h 2 additions, 1 deletionfs/f2fs/node.h
- fs/f2fs/recovery.c 1 addition, 3 deletionsfs/f2fs/recovery.c
- fs/f2fs/segment.c 120 additions, 81 deletionsfs/f2fs/segment.c
- fs/f2fs/segment.h 0 additions, 6 deletionsfs/f2fs/segment.h
- fs/f2fs/shrinker.c 18 additions, 7 deletionsfs/f2fs/shrinker.c
Loading
Please register or sign in to comment