forked from HuTao77-Studio/android_kernel_xiaomi_elish
-
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.
Kernel: Xiaomi kernel changes for Xiaomi Pad 6
The Patch based on QualComm release TAG: LA.UM.9.12.r1-13300-SMxx50.QSSI12.0-1 The kernel config file used is pipa_user_defconfig Signed-off-by: jiahao <[email protected]> Change-Id: Id6754d48feac5dc72afa74d088f0683b0363db1a
- Loading branch information
jiahao
committed
May 16, 2023
1 parent
743002c
commit 77dc8e2
Showing
2,546 changed files
with
1,454,277 additions
and
82,861 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,8 @@ Contact: "Namjae Jeon" <[email protected]> | |
Description: Controls the victim selection policy for garbage collection. | ||
Setting gc_idle = 0(default) will disable this option. Setting | ||
gc_idle = 1 will select the Cost Benefit approach & setting | ||
gc_idle = 2 will select the greedy approach. | ||
gc_idle = 2 will select the greedy approach & setting | ||
gc_idle = 3 will select the age-threshold based approach. | ||
|
||
What: /sys/fs/f2fs/<disk>/reclaim_segments | ||
Date: October 2013 | ||
|
@@ -48,7 +49,7 @@ Description: Controls the in-place-update policy. | |
0x01: F2FS_IPU_FORCE, 0x02: F2FS_IPU_SSR, | ||
0x04: F2FS_IPU_UTIL, 0x08: F2FS_IPU_SSR_UTIL, | ||
0x10: F2FS_IPU_FSYNC, 0x20: F2FS_IPU_ASYNC, | ||
0x40: F2FS_IPU_NOCACHE. | ||
0x40: F2FS_IPU_NOCACHE,0x80 F2FS_IPU_HONOR_OPU_WRITE. | ||
Refer segment.h for details. | ||
|
||
What: /sys/fs/f2fs/<disk>/min_ipu_util | ||
|
@@ -319,6 +320,15 @@ Contact: "Hridya Valsaraju" <[email protected]> | |
Description: Average number of valid blocks. | ||
Available when CONFIG_F2FS_STAT_FS=y. | ||
|
||
What: /sys/fs/f2fs/<disk>/ckpt_thread_ioprio | ||
Date: January 2021 | ||
Contact: "Daeho Jeong" <[email protected]> | ||
Description: Give a way to change checkpoint merge daemon's io priority. | ||
Its default value is "be,3", which means "BE" I/O class and | ||
I/O priority "3". We can select the class between "rt" and "be", | ||
and set the I/O priority within valid range of it. "," delimiter | ||
is necessary in between I/O class and priority number. | ||
|
||
What: /sys/fs/f2fs/<disk>/mounted_time_sec | ||
Date: February 2020 | ||
Contact: "Jaegeuk Kim" <[email protected]> | ||
|
@@ -347,3 +357,74 @@ Date: April 2020 | |
Contact: "Daeho Jeong" <[email protected]> | ||
Description: Give a way to change iostat_period time. 3secs by default. | ||
The new iostat trace gives stats gap given the period. | ||
|
||
What: /sys/fs/f2fs/<disk>/atgc_candidate_ratio | ||
Date: May 2021 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: When ATGC is on, it controls candidate ratio in order to limit total | ||
number of potential victim in all candidates, the value should be in | ||
range of [0, 100], by default it was initialized as 20(%). | ||
|
||
What: /sys/fs/f2fs/<disk>/atgc_candidate_count | ||
Date: May 2021 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: When ATGC is on, it controls candidate count in order to limit total | ||
number of potential victim in all candidates, by default it was | ||
initialized as 10 (sections). | ||
|
||
What: /sys/fs/f2fs/<disk>/atgc_age_weight | ||
Date: May 2021 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: When ATGC is on, it controls age weight to balance weight proportion | ||
in between aging and valid blocks, the value should be in range of | ||
[0, 100], by default it was initialized as 60(%). | ||
|
||
What: /sys/fs/f2fs/<disk>/atgc_age_threshold | ||
Date: May 2021 | ||
Contact: "Chao Yu" <[email protected]> | ||
Description: When ATGC is on, it controls age threshold to bypass GCing young | ||
candidates whose age is not beyond the threshold, by default it was | ||
initialized as 604800 seconds (equals to 7 days). | ||
|
||
What: /sys/fs/f2fs/<disk>/compr_written_block | ||
Date: March 2021 | ||
Contact: "Daeho Jeong" <[email protected]> | ||
Description: Show the block count written after compression since mount. Note | ||
that when the compressed blocks are deleted, this count doesn't | ||
decrease. If you write "0" here, you can initialize | ||
compr_written_block and compr_saved_block to "0". | ||
|
||
What: /sys/fs/f2fs/<disk>/compr_saved_block | ||
Date: March 2021 | ||
Contact: "Daeho Jeong" <[email protected]> | ||
Description: Show the saved block count with compression since mount. Note | ||
that when the compressed blocks are deleted, this count doesn't | ||
decrease. If you write "0" here, you can initialize | ||
compr_written_block and compr_saved_block to "0". | ||
|
||
What: /sys/fs/f2fs/<disk>/compr_new_inode | ||
Date: March 2021 | ||
Contact: "Daeho Jeong" <[email protected]> | ||
Description: Show the count of inode newly enabled for compression since mount. | ||
Note that when the compression is disabled for the files, this count | ||
doesn't decrease. If you write "0" here, you can initialize | ||
compr_new_inode to "0". | ||
|
||
What: /sys/fs/f2fs/<disk>/hot_data_age_threshold | ||
Date: November 2022 | ||
Contact: "Ping Xiong" <[email protected]> | ||
Description: When DATA SEPARATION is on, it controls the age threshold to indicate | ||
the data blocks as hot. By default it was initialized as 262144 blocks | ||
(equals to 1GB). | ||
|
||
What: /sys/fs/f2fs/<disk>/warm_data_age_threshold | ||
Date: November 2022 | ||
Contact: "Ping Xiong" <[email protected]> | ||
Description: When DATA SEPARATION is on, it controls the age threshold to indicate | ||
the data blocks as warm. By default it was initialized as 2621440 blocks | ||
(equals to 10GB). | ||
|
||
What: /sys/fs/f2fs/<disk>/last_age_weight | ||
Date: January 2023 | ||
Contact: "Ping Xiong" <[email protected]> | ||
Description: When DATA SEPARATION is on, it controls the weight of last data block age. |
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.