sysfs-fs-f2fs 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. What: /sys/fs/f2fs/<disk>/gc_max_sleep_time
  2. Date: July 2013
  3. Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
  4. Description:
  5. Controls the maximun sleep time for gc_thread. Time
  6. is in milliseconds.
  7. What: /sys/fs/f2fs/<disk>/gc_min_sleep_time
  8. Date: July 2013
  9. Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
  10. Description:
  11. Controls the minimum sleep time for gc_thread. Time
  12. is in milliseconds.
  13. What: /sys/fs/f2fs/<disk>/gc_no_gc_sleep_time
  14. Date: July 2013
  15. Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
  16. Description:
  17. Controls the default sleep time for gc_thread. Time
  18. is in milliseconds.
  19. What: /sys/fs/f2fs/<disk>/gc_idle
  20. Date: July 2013
  21. Contact: "Namjae Jeon" <namjae.jeon@samsung.com>
  22. Description:
  23. Controls the victim selection policy for garbage collection.
  24. What: /sys/fs/f2fs/<disk>/reclaim_segments
  25. Date: October 2013
  26. Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
  27. Description:
  28. Controls the issue rate of segment discard commands.
  29. What: /sys/fs/f2fs/<disk>/ipu_policy
  30. Date: November 2013
  31. Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
  32. Description:
  33. Controls the in-place-update policy.
  34. What: /sys/fs/f2fs/<disk>/min_ipu_util
  35. Date: November 2013
  36. Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
  37. Description:
  38. Controls the FS utilization condition for the in-place-update
  39. policies.
  40. What: /sys/fs/f2fs/<disk>/min_fsync_blocks
  41. Date: September 2014
  42. Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
  43. Description:
  44. Controls the dirty page count condition for the in-place-update
  45. policies.
  46. What: /sys/fs/f2fs/<disk>/min_hot_blocks
  47. Date: March 2017
  48. Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
  49. Description:
  50. Controls the dirty page count condition for redefining hot data.
  51. What: /sys/fs/f2fs/<disk>/min_ssr_sections
  52. Date: October 2017
  53. Contact: "Chao Yu" <yuchao0@huawei.com>
  54. Description:
  55. Controls the fee section threshold to trigger SSR allocation.
  56. What: /sys/fs/f2fs/<disk>/max_small_discards
  57. Date: November 2013
  58. Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
  59. Description:
  60. Controls the issue rate of small discard commands.
  61. What: /sys/fs/f2fs/<disk>/discard_granularity
  62. Date: July 2017
  63. Contact: "Chao Yu" <yuchao0@huawei.com>
  64. Description:
  65. Controls discard granularity of inner discard thread, inner thread
  66. will not issue discards with size that is smaller than granularity.
  67. The unit size is one block, now only support configuring in range
  68. of [1, 512].
  69. What: /sys/fs/f2fs/<disk>/max_victim_search
  70. Date: January 2014
  71. Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
  72. Description:
  73. Controls the number of trials to find a victim segment.
  74. What: /sys/fs/f2fs/<disk>/dir_level
  75. Date: March 2014
  76. Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
  77. Description:
  78. Controls the directory level for large directory.
  79. What: /sys/fs/f2fs/<disk>/ram_thresh
  80. Date: March 2014
  81. Contact: "Jaegeuk Kim" <jaegeuk.kim@samsung.com>
  82. Description:
  83. Controls the memory footprint used by f2fs.
  84. What: /sys/fs/f2fs/<disk>/batched_trim_sections
  85. Date: February 2015
  86. Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
  87. Description:
  88. Controls the trimming rate in batch mode.
  89. What: /sys/fs/f2fs/<disk>/cp_interval
  90. Date: October 2015
  91. Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
  92. Description:
  93. Controls the checkpoint timing.
  94. What: /sys/fs/f2fs/<disk>/idle_interval
  95. Date: January 2016
  96. Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
  97. Description:
  98. Controls the idle timing.
  99. What: /sys/fs/f2fs/<disk>/iostat_enable
  100. Date: August 2017
  101. Contact: "Chao Yu" <yuchao0@huawei.com>
  102. Description:
  103. Controls to enable/disable IO stat.
  104. What: /sys/fs/f2fs/<disk>/ra_nid_pages
  105. Date: October 2015
  106. Contact: "Chao Yu" <chao2.yu@samsung.com>
  107. Description:
  108. Controls the count of nid pages to be readaheaded.
  109. What: /sys/fs/f2fs/<disk>/dirty_nats_ratio
  110. Date: January 2016
  111. Contact: "Chao Yu" <chao2.yu@samsung.com>
  112. Description:
  113. Controls dirty nat entries ratio threshold, if current
  114. ratio exceeds configured threshold, checkpoint will
  115. be triggered for flushing dirty nat entries.
  116. What: /sys/fs/f2fs/<disk>/lifetime_write_kbytes
  117. Date: January 2016
  118. Contact: "Shuoran Liu" <liushuoran@huawei.com>
  119. Description:
  120. Shows total written kbytes issued to disk.
  121. What: /sys/fs/f2fs/<disk>/feature
  122. Date: July 2017
  123. Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
  124. Description:
  125. Shows all enabled features in current device.
  126. What: /sys/fs/f2fs/<disk>/inject_rate
  127. Date: May 2016
  128. Contact: "Sheng Yong" <shengyong1@huawei.com>
  129. Description:
  130. Controls the injection rate.
  131. What: /sys/fs/f2fs/<disk>/inject_type
  132. Date: May 2016
  133. Contact: "Sheng Yong" <shengyong1@huawei.com>
  134. Description:
  135. Controls the injection type.
  136. What: /sys/fs/f2fs/<disk>/reserved_blocks
  137. Date: June 2017
  138. Contact: "Chao Yu" <yuchao0@huawei.com>
  139. Description:
  140. Controls target reserved blocks in system, the threshold
  141. is soft, it could exceed current available user space.
  142. What: /sys/fs/f2fs/<disk>/current_reserved_blocks
  143. Date: October 2017
  144. Contact: "Yunlong Song" <yunlong.song@huawei.com>
  145. Contact: "Chao Yu" <yuchao0@huawei.com>
  146. Description:
  147. Shows current reserved blocks in system, it may be temporarily
  148. smaller than target_reserved_blocks, but will gradually
  149. increase to target_reserved_blocks when more free blocks are
  150. freed by user later.
  151. What: /sys/fs/f2fs/<disk>/gc_urgent
  152. Date: August 2017
  153. Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
  154. Description:
  155. Do background GC agressively
  156. What: /sys/fs/f2fs/<disk>/gc_urgent_sleep_time
  157. Date: August 2017
  158. Contact: "Jaegeuk Kim" <jaegeuk@kernel.org>
  159. Description:
  160. Controls sleep time of GC urgent mode