Seokhwan Kim
unread,Feb 22, 2022, 7:40:22 AM2/22/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to storage-dev, Adam Barth, Justin Mattson, stora...@fuchsia.dev, Chris Suter, Étienne J. Membrives, David Moore
As a set of CLs for writeback has been merged, f2fs is able to adjust the number of committed pages in a writeback cache. Basically, f2fs uses discardable vmo to present a file block in memory, and it keeps vmo_lock for dirty vmos as well as ones in use. In order to limit the total amount of locked discardable pages, it writes out dirty vmos when the amount exceed a threshold.
If it is notified of the current memory state from kernel, I think we can add a CL to adjust the threshold and the number of locked committed pages according to the state.
https://fuchsia-review.googlesource.com/c/fuchsia/+/626194
Best regards,
Seokhwan
2022년 2월 3일 목요일 오후 12시 30분 34초 UTC+9에 Adam Barth님이 작성: