forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'f2fs-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/ke…
…rnel/git/jaegeuk/f2fs Pull f2fs update from Jaegeuk Kim: "In this series, we've some progress to support Zoned block device regarding to the power-cut recovery flow and enabling checkpoint=disable feature which is essential for Android OTA. Other than that, some patches touched sysfs entries and tracepoints which are minor, while several bug fixes on error handlers and compression flows are good to improve the overall stability. Enhancements: - enable checkpoint=disable for zoned block device - sysfs entries such as discard status, discard_io_aware, dir_level - tracepoints such as f2fs_vm_page_mkwrite(), f2fs_rename(), f2fs_new_inode() - use shared inode lock during f2fs_fiemap() and f2fs_seek_block() Bug fixes: - address some power-cut recovery issues on zoned block device - handle errors and logics on do_garbage_collect(), f2fs_reserve_new_block(), f2fs_move_file_range(), f2fs_recover_xattr_data() - don't set FI_PREALLOCATED_ALL for partial write - fix to update iostat correctly in f2fs_filemap_fault() - fix to wait on block writeback for post_read case - fix to tag gcing flag on page during block migration - restrict max filesize for 16K f2fs - fix to avoid dirent corruption - explicitly null-terminate the xattr list There are also several clean-up patches to remove dead codes and better readability" * tag 'f2fs-for-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (33 commits) f2fs: show more discard status by sysfs f2fs: Add error handling for negative returns from do_garbage_collect f2fs: Constrain the modification range of dir_level in the sysfs f2fs: Use wait_event_freezable_timeout() for freezable kthread f2fs: fix to check return value of f2fs_recover_xattr_data f2fs: don't set FI_PREALLOCATED_ALL for partial write f2fs: fix to update iostat correctly in f2fs_filemap_fault() f2fs: fix to check compress file in f2fs_move_file_range() f2fs: fix to wait on block writeback for post_read case f2fs: fix to tag gcing flag on page during block migration f2fs: add tracepoint for f2fs_vm_page_mkwrite() f2fs: introduce f2fs_invalidate_internal_cache() for cleanup f2fs: update blkaddr in __set_data_blkaddr() for cleanup f2fs: introduce get_dnode_addr() to clean up codes f2fs: delete obsolete FI_DROP_CACHE f2fs: delete obsolete FI_FIRST_BLOCK_WRITTEN f2fs: Restrict max filesize for 16K f2fs f2fs: let's finish or reset zones all the time f2fs: check write pointers when checkpoint=disable f2fs: fix write pointers on zoned device after roll forward ...
- Loading branch information
Showing
16 changed files
with
395 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -498,6 +498,21 @@ Description: Show status of f2fs checkpoint in real time. | |
CP_RESIZEFS_FLAG 0x00004000 | ||
=============================== ============================== | ||
|
||
What: /sys/fs/f2fs/<disk>/stat/issued_discard | ||
Date: December 2023 | ||
Contact: "Zhiguo Niu" <[email protected]> | ||
Description: Shows the number of issued discard. | ||
|
||
What: /sys/fs/f2fs/<disk>/stat/queued_discard | ||
Date: December 2023 | ||
Contact: "Zhiguo Niu" <[email protected]> | ||
Description: Shows the number of queued discard. | ||
|
||
What: /sys/fs/f2fs/<disk>/stat/undiscard_blks | ||
Date: December 2023 | ||
Contact: "Zhiguo Niu" <[email protected]> | ||
Description: Shows the total number of undiscard blocks. | ||
|
||
What: /sys/fs/f2fs/<disk>/ckpt_thread_ioprio | ||
Date: January 2021 | ||
Contact: "Daeho Jeong" <[email protected]> | ||
|
@@ -740,3 +755,9 @@ Description: When compress cache is on, it controls cached page | |
If cached page percent exceed threshold, then deny caching compress page. | ||
The value should be in range of (0, 100], by default it was initialized | ||
as 20(%). | ||
|
||
What: /sys/fs/f2fs/<disk>/discard_io_aware | ||
Date: November 2023 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: It controls to enable/disable IO aware feature for background discard. | ||
By default, the value is 1 which indicates IO aware is on. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.