Commit ca41bb3e authored by Committed by Eric Van HensbergenBrowse files
[net/9p] Handle Zero Copy TREAD/RERROR case in !dotl case.
This takes care of copying out error buffers from user buffer payloads when we are using zero copy. This happens because the only payload buffer the server has to respond to the request is the user buffer given for the zero copy read. Because we only use zerocopy when the amount of data to transfer is greater than a certain size (currently 4K) and error strings are limited to ERRMAX (currently 128) we don't need to worry about there being sufficient space for the error to fit in the payload. Signed-off-by: Venkateswararao Jujjuri <firstname.lastname@example.org> Signed-off-by: Eric Van Hensbergen <email@example.com>
Showing with 41 additions and 23 deletions