On Thu, 11 Apr 2024 at 21:16, Richard Fung <richardfung@xxxxxxxxxx> wrote: > Would allowing FUSE_IOCTL_RETRY for these specific ioctls be > possible/preferable? From my limited understanding retrying is > designed to handle dynamically sized data. However it seems like > that's currently only allowed for CUSE. > > If that's not a good idea then I'll try to split it into a separate > function if you don't feel strongly about the other approach. It's not a good idea, because it gives complete freedom to the fuse server about where to gather data from, and that's just an invitation to malicious behavior. So yes, please split the current one off to a separate function and let's see how that looks. Thanks, Miklos