On Fri, Nov 10, 2023 at 1:41 PM Juergen Gross <[email protected]> wrote: > > Add support for generation a 9pfs protocol response via a format based > approach. > > Strings are stored in a per device string buffer and they are > referenced via their offset in this buffer. This allows to avoid > having to dynamically allocate memory for each single string. > > As a first user of the response handling add a generic p9_error() > function which will be used to return any error to the client. > > Add all format parsing variants in order to avoid additional code churn > later when adding the users of those variants. Prepare a special case > for the "read" case already (format character 'D'): in order to avoid > adding another buffer for read data support doing the read I/O directly > into the response buffer. > > Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Jason Andryuk <[email protected]> Thanks, Jason
