mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chao Yu <chao@kernel.org>
To: Jaegeuk Kim <jaegeuk@kernel.org>,
	linux-kernel@vger.kernel.org,
	linux-f2fs-devel@lists.sourceforge.net
Cc: chao@kernel.org
Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: add a sysfs entry to request donate file-backed pages
Date: Thu, 23 Jan 2025 10:00:29 +0800	[thread overview]
Message-ID: <fb1bcab5-b006-40ef-8442-faede11e8649@kernel.org> (raw)
In-Reply-To: <20250122211323.3835557-3-jaegeuk@kernel.org>

On 1/23/25 05:10, Jaegeuk Kim via Linux-f2fs-devel wrote:
> 1. ioctl(fd1, F2FS_IOC_DONATE_RANGE, {0,3});
> 2. ioctl(fd2, F2FS_IOC_DONATE_RANGE, {1,2});
> 3. ioctl(fd3, F2FS_IOC_DONATE_RANGE, {3,1});
> 4. echo 1024 > /sys/fs/f2fs/blk/reclaim_caches_kb
> 
> will reclaim 4MB page cache ranges, registered by #1, #2, and #3.

4MB -> 1MB?

> 
> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>

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

Thanks,

  reply	other threads:[~2025-01-23  2:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 21:10 [PATCH 0/2 v7] add ioctl/sysfs to " Jaegeuk Kim
2025-01-22 21:10 ` [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim
2025-01-23  1:50   ` [f2fs-dev] " Chao Yu
2025-01-22 21:10 ` [PATCH 2/2] f2fs: add a sysfs entry to request donate file-backed pages Jaegeuk Kim
2025-01-23  2:00   ` Chao Yu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-31 22:27 [PATCH 0/2 v8] add ioctl/sysfs to " Jaegeuk Kim
2025-01-31 22:27 ` [PATCH 2/2] f2fs: add a sysfs entry to request " Jaegeuk Kim
2025-02-06  2:23   ` [f2fs-dev] " Chao Yu
2025-02-06 18:33     ` Jaegeuk Kim
2025-01-15 22:16 [PATCH 0/2 v3] add ioctl/sysfs to " Jaegeuk Kim
2025-01-15 22:16 ` [PATCH 2/2] f2fs: add a sysfs entry to request " Jaegeuk Kim
2025-01-16  3:14   ` [f2fs-dev] " Chao Yu
2025-01-16  4:41     ` Jaegeuk Kim
2025-01-13 18:39 [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim
2025-01-13 18:39 ` [PATCH 2/2] f2fs: add a sysfs entry to request donate file-backed pages Jaegeuk Kim
2025-01-14  7:34   ` [f2fs-dev] " Chao Yu
2025-01-14 17:18     ` Jaegeuk Kim
2025-01-15  2:17       ` Chao Yu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb1bcab5-b006-40ef-8442-faede11e8649@kernel.org \
    --to=chao@kernel.org \
    --cc=jaegeuk@kernel.org \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome