linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Josef Bacik <josef@toxicpanda.com>
To: Bernd Schubert <bernd.schubert@fastmail.fm>
Cc: Bernd Schubert <bschubert@ddn.com>,
	miklos@szeredi.hu, linux-fsdevel@vger.kernel.org,
	joannelkoong@gmail.com
Subject: Re: [PATCH v3] fuse: Allow page aligned writes
Date: Wed, 14 Aug 2024 12:02:49 -0400	[thread overview]
Message-ID: <20240814160249.GA1053520@perftesting> (raw)
In-Reply-To: <a71d9bc4-fa6f-4cfd-bd96-e1001c3061fe@fastmail.fm>

On Mon, Aug 12, 2024 at 06:37:49PM +0200, Bernd Schubert wrote:
> Sorry, I had sent out the wrong/old patch file - it doesn't have one change
> (handling of already aligned buffers). 
> Shall I sent v4? The correct version is below
> 
> ---
> 
> From: Bernd Schubert <bschubert@ddn.com>
> Date: Fri, 21 Jun 2024 11:51:23 +0200
> Subject: [PATCH v3] fuse: Allow page aligned writes
> 
> Write IOs should be page aligned as fuse server
> might need to copy data to another buffer otherwise in
> order to fulfill network or device storage requirements.
> 
> Simple reproducer is with libfuse, example/passthrough*
> and opening a file with O_DIRECT - without this change
> writing to that file failed with -EINVAL if the underlying
> file system was requiring alignment.
> 
> Required server side changes:
> Server needs to seek to the next page, without splice that is
> just page size buffer alignment, with splice another splice
> syscall is needed to seek over the unaligned area.
> 
> Signed-off-by: Bernd Schubert <bschubert@ddn.com>

This looks good,

Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks Bernd,

Josef

  parent reply	other threads:[~2024-08-14 16:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12 16:18 [PATCH v3] fuse: Allow page aligned writes Bernd Schubert
2024-08-12 16:37 ` Bernd Schubert
2024-08-12 23:26   ` Joanne Koong
2024-08-14 16:02   ` Josef Bacik [this message]
2024-08-29 12:46   ` Miklos Szeredi
2024-08-29 13:04     ` Bernd Schubert
2024-08-29 13:06       ` Bernd Schubert
2024-08-29 13:45         ` Miklos Szeredi
2024-08-29 14:02           ` Bernd Schubert
2024-08-29 13:39       ` Miklos Szeredi
2024-09-02 20:59         ` Bernd Schubert

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=20240814160249.GA1053520@perftesting \
    --to=josef@toxicpanda.com \
    --cc=bernd.schubert@fastmail.fm \
    --cc=bschubert@ddn.com \
    --cc=joannelkoong@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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;
as well as URLs for NNTP newsgroup(s).