Re: [PATCH v6 3/3] fuse: add an implementation of open+getattr

From: Miklos Szeredi

Date: Wed Mar 04 2026 - 04:40:56 EST


On Wed, 4 Mar 2026 at 00:13, Joanne Koong <joannelkoong@xxxxxxxxx> wrote:

> I think right now the only option is for the fuse server to just
> handle append semantics itself if it detects the O_APPEND flag in the
> write request and just ignore the kernel-provided offset (assuming the
> distributed backend synchronizes access amongst multiple clients).

Right. It can also send a NOTIFY_INVAL_INODE in case it detects that
the offset was wrong. This will fix the file size, but not the file
position.

fuse_write_out could be extended with a file offset, which would fix
both issues.

Thanks,
Miklos