Re: [PATCH RFC v2 0/2] fuse: compound commands

From: Jingbo Xu

Date: Mon Dec 29 2025 - 01:03:26 EST


Hi Horst & Bernd,

On 12/24/25 6:13 AM, Horst Birthelmer wrote:
> In the discussion about open+getattr here [1] Bernd and Miklos talked
> about the need for a compound command in fuse that could send multiple
> commands to a fuse server.
>
> Here's a propsal for exactly that compound command with an example
> (the mentioned open+getattr).
>
> [1] https://lore.kernel.org/linux-fsdevel/CAJfpegshcrjXJ0USZ8RRdBy=e0MxmBTJSCE0xnxG8LXgXy-xuQ@xxxxxxxxxxxxxx/
>

To achieve close-to-open, why not just invalidate the cached attr on
open so that the following access to the attr would trigger a new
FUSE_GETATTR request to fetch the latest attr from server?


--
Thanks,
Jingbo