Re: [f2fs-dev] [PATCH v3] f2fs: show the list of donation files
Brought to you by:
kjgkr
From: Chao Yu <ch...@ke...> - 2025-08-16 07:05:53
|
On 2025/8/16 00:20, Jaegeuk Kim via Linux-f2fs-devel wrote: > This patch introduces a proc entry to show the currently enrolled donation > files. > > - "File path" indicates a file. > - "Status" > a. "Donated" means the file is registed in the donation list by > fadvise(offset, length, POSIX_FADV_NOREUSE) > b. "Evicted" means the donated pages were reclaimed. > - "Offset (kb)" and "Length (kb) show the registered donation range. > - "Cached pages (kb)" shows the amount of cached pages in the inode page cache. > > For example, > > Donation List > # of files : 2 > File path Status Offset (kb) Length (kb) Cached pages (kb) > --- > /local/tmp/test2 Donated 0 1048576 2097152 > /local/tmp/test Evicted 0 1048576 1048576 > > Signed-off-by: Jaegeuk Kim <ja...@ke...> Reviewed-by: Chao Yu <ch...@ke...> Thanks, |