Re: [PATCH 0/8] MUSE: Userspace backed MTD v3
From: Miklos Szeredi
Date: Wed Feb 10 2021 - 05:29:51 EST
On Tue, Feb 9, 2021 at 10:39 PM Richard Weinberger <richard@xxxxxx> wrote:
>
> Miklos,
>
> ----- Ursprüngliche Mail -----
> > If you look at fuse_do_ioctl() it does variable length input and
> > output at the same time. I guess you need something similar to that.
>
> I'm not sure whether I understand correctly.
>
> In MUSE one use case would be attaching two distinct (variable length) buffers to a
> single FUSE request, in both directions.
> If I read fuse_do_ioctl() correctly, it attaches always a single buffer per request
> but does multiple requests.
Right.
> In MUSE we cold go the same path and issue up to two requests.
> One for in-band and optionally a second one for the out-of-band data.
> Hmmm?
Does in-band and OOB data need to be handled together? If so, then
two requests is not a good option.
Thanks,
Miklos