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 <jaeg...@kernel.org>

Reviewed-by: Chao Yu <c...@kernel.org>

Thanks,



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to