mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net
Subject: Re: [PATCH 1/2] f2fs: register inodes which is able to donate pages
Date: Tue, 14 Jan 2025 21:16:17 +0000	[thread overview]
Message-ID: <20250114211617.GA2558329@google.com> (raw)
In-Reply-To: <20250113183933.1268282-1-jaegeuk@kernel.org>

On Mon, Jan 13, 2025 at 06:39:32PM +0000, Jaegeuk Kim via Linux-f2fs-devel wrote:
> This patch introduces an inode list to keep the page cache ranges that users
> can donate pages together.
> 
>  #define F2FS_IOC_DONATE_RANGE		_IOW(F2FS_IOCTL_MAGIC, 27,	\
> 						struct f2fs_donate_range)
>  struct f2fs_donate_range {
> 	__u64 start;
> 	__u64 len;
>  };
> 
> e.g., ioctl(F2FS_IOC_DONATE_RANGE, &range);
> 
> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
> ---
>  fs/f2fs/debug.c           |  3 +++
>  fs/f2fs/f2fs.h            |  9 +++++++-
>  fs/f2fs/file.c            | 48 +++++++++++++++++++++++++++++++++++++++
>  fs/f2fs/inode.c           | 14 ++++++++++++
>  fs/f2fs/super.c           |  1 +
>  include/uapi/linux/f2fs.h |  7 ++++++
>  6 files changed, 81 insertions(+), 1 deletion(-)

Missing a rationale, documentation, tests, and fuzzing.

- Eric

  parent reply	other threads:[~2025-01-14 21:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-13 18:39 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
2025-01-14 20:50   ` [PATCH 2/2 v2] " Jaegeuk Kim
2025-01-14  6:34 ` [f2fs-dev] [PATCH 1/2] f2fs: register inodes which is able to donate pages Chao Yu
2025-01-14 17:15   ` Jaegeuk Kim
2025-01-15  2:12     ` Chao Yu
2025-01-14 17:20 ` [PATCH 1/2 v2] " Jaegeuk Kim
2025-01-14 21:16 ` Eric Biggers [this message]
2025-01-14 22:39 [PATCH 0/2 v2] add ioctl/sysfs to donate file-backed pages Jaegeuk Kim
2025-01-14 22:39 ` [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim
2025-01-15 22:16 [PATCH 0/2 v3] add ioctl/sysfs to donate file-backed pages Jaegeuk Kim
2025-01-15 22:16 ` [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim
2025-01-16  6:24   ` Christoph Hellwig
2025-01-16 17:19     ` Jaegeuk Kim
2025-01-17  7:56       ` Christoph Hellwig
2025-01-16  4:41 [PATCH 0/2 v4] add ioctl/sysfs to donate file-backed pages Jaegeuk Kim
2025-01-16  4:42 ` [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim
2025-01-16 22:51 [PATCH 0/2 v5 RESEND] add ioctl/sysfs to donate file-backed pages Jaegeuk Kim
2025-01-16 22:51 ` [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim
2025-01-17 16:41 [PATCH 0/2 v6] add ioctl/sysfs to donate file-backed pages Jaegeuk Kim
2025-01-17 16:41 ` [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim
2025-01-22 21:10 [PATCH 0/2 v7] add ioctl/sysfs to donate file-backed pages Jaegeuk Kim
2025-01-22 21:10 ` [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim
2025-01-31 22:27 [PATCH 0/2 v8] add ioctl/sysfs to donate file-backed pages Jaegeuk Kim
2025-01-31 22:27 ` [PATCH 1/2] f2fs: register inodes which is able to donate pages Jaegeuk Kim

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=20250114211617.GA2558329@google.com \
    --to=ebiggers@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