[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e7a7d935-a43e-434e-9fd7-ba145255d3f5@kernel.org>
Date: Sat, 16 Aug 2025 15:05:38 +0800
From: Chao Yu <chao@...nel.org>
To: Jaegeuk Kim <jaegeuk@...nel.org>, linux-kernel@...r.kernel.org,
linux-f2fs-devel@...ts.sourceforge.net
Cc: chao@...nel.org
Subject: Re: [f2fs-dev] [PATCH v3] f2fs: show the list of donation files
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 <jaegeuk@...nel.org>
Reviewed-by: Chao Yu <chao@...nel.org>
Thanks,
Powered by blists - more mailing lists