On 8/29/24 15:04, Bernd Schubert wrote: > On 8/29/24 14:46, Miklos Szeredi wrote: >> On Mon, 12 Aug 2024 at 18:37, Bernd Schubert <bernd.schubert@xxxxxxxxxxx> 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@xxxxxxx> >>> 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. >> >> Okay. >> >> So why not align the buffer in userspace so the payload of the write >> request lands on a page boundary? >> >> Just the case that you have noted in the fuse_copy_align() function. > > How would you do that with splice? > Sorry forgot, additionally we (at DDN) will probably also need aligned setxattr. Thanks, Bernd