forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
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-4.15-rc1' of git://git.kernel.org/pub/scm/linux/k…
…ernel/git/jaegeuk/f2fs Pull f2fs updates from Jaegeuk Kim: "In this round, we introduce sysfile-based quota support which is required for Android by default. In addition, we allow that users are able to reserve some blocks in runtime to mitigate performance drops in low free space. Enhancements: - assign proper data segments according to write_hints given by user - issue cache_flush on dirty devices only among multiple devices - exploit cp_error flag and add more faults to enhance fault injection test - conduct more readaheads during f2fs_readdir - add a range for discard commands Bug fixes: - fix zero stat->st_blocks when inline_data is set - drop crypto key and free stale memory pointer while evict_inode is failing - fix some corner cases in free space and segment management - fix wrong last_disk_size This series includes lots of clean-ups and code enhancement in terms of xattr operations, discard/flush command control. In addition, it adds versatile debugfs entries to monitor f2fs status" * tag 'f2fs-for-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (75 commits) f2fs: deny accessing encryption policy if encryption is off f2fs: inject fault in inc_valid_node_count f2fs: fix to clear FI_NO_PREALLOC f2fs: expose quota information in debugfs f2fs: separate nat entry mem alloc from nat_tree_lock f2fs: validate before set/clear free nat bitmap f2fs: avoid opened loop codes in __add_ino_entry f2fs: apply write hints to select the type of segments for buffered write f2fs: introduce scan_curseg_cache for cleanup f2fs: optimize the way of traversing free_nid_bitmap f2fs: keep scanning until enough free nids are acquired f2fs: trace checkpoint reason in fsync() f2fs: keep isize once block is reserved cross EOF f2fs: avoid race in between GC and block exchange f2fs: save a multiplication for last_nid calculation f2fs: fix summary info corruption f2fs: remove dead code in update_meta_page f2fs: remove unneeded semicolon f2fs: don't bother with inode->i_version f2fs: check curseg space before foreground GC ...
- Loading branch information
Showing
23 changed files
with
1,648 additions
and
622 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 |
---|---|---|
|
@@ -51,6 +51,18 @@ Description: | |
Controls the dirty page count condition for the in-place-update | ||
policies. | ||
|
||
What: /sys/fs/f2fs/<disk>/min_hot_blocks | ||
Date: March 2017 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
Description: | ||
Controls the dirty page count condition for redefining hot data. | ||
|
||
What: /sys/fs/f2fs/<disk>/min_ssr_sections | ||
Date: October 2017 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Controls the fee section threshold to trigger SSR allocation. | ||
|
||
What: /sys/fs/f2fs/<disk>/max_small_discards | ||
Date: November 2013 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
|
@@ -102,6 +114,12 @@ Contact: "Jaegeuk Kim" <[email protected]> | |
Description: | ||
Controls the idle timing. | ||
|
||
What: /sys/fs/f2fs/<disk>/iostat_enable | ||
Date: August 2017 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Controls to enable/disable IO stat. | ||
|
||
What: /sys/fs/f2fs/<disk>/ra_nid_pages | ||
Date: October 2015 | ||
Contact: "Chao Yu" <[email protected]> | ||
|
@@ -122,6 +140,12 @@ Contact: "Shuoran Liu" <[email protected]> | |
Description: | ||
Shows total written kbytes issued to disk. | ||
|
||
What: /sys/fs/f2fs/<disk>/feature | ||
Date: July 2017 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
Description: | ||
Shows all enabled features in current device. | ||
|
||
What: /sys/fs/f2fs/<disk>/inject_rate | ||
Date: May 2016 | ||
Contact: "Sheng Yong" <[email protected]> | ||
|
@@ -138,7 +162,18 @@ What: /sys/fs/f2fs/<disk>/reserved_blocks | |
Date: June 2017 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Controls current reserved blocks in system. | ||
Controls target reserved blocks in system, the threshold | ||
is soft, it could exceed current available user space. | ||
|
||
What: /sys/fs/f2fs/<disk>/current_reserved_blocks | ||
Date: October 2017 | ||
Contact: "Yunlong Song" <[email protected]> | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: | ||
Shows current reserved blocks in system, it may be temporarily | ||
smaller than target_reserved_blocks, but will gradually | ||
increase to target_reserved_blocks when more free blocks are | ||
freed by user later. | ||
|
||
What: /sys/fs/f2fs/<disk>/gc_urgent | ||
Date: August 2017 | ||
|
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.