9pnet: allow making incomplete read requests
authorSergey Alirzaev <l29ah@cock.li>
Wed, 5 Feb 2020 20:40:53 +0000 (23:40 +0300)
committerDominique Martinet <dominique.martinet@cea.fr>
Fri, 27 Mar 2020 09:29:56 +0000 (09:29 +0000)
commit388f6966b05746e80e809984231b06e93aa5d891
tree3bb6281ad728d8a7e5f1c2224e9d11237b13f619
parent51958817391d0d45ca0533bf31f05248cb6c5933
9pnet: allow making incomplete read requests

A user doesn't necessarily want to wait for all the requested data to
be available, since the waiting time for each request is unbounded.

The new method permits sending one read request at a time and getting
the response ASAP, allowing to use 9pnet with synthetic file systems
representing arbitrary data streams.

Link: http://lkml.kernel.org/r/20200205204053.12751-1-l29ah@cock.li
Signed-off-by: Sergey Alirzaev <l29ah@cock.li>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
include/net/9p/client.h
net/9p/client.c