[PATCH v2 0/7] async requests support for 9pfs

From: Stefano Stabellini
Date: Thu Dec 15 2016 - 17:12:42 EST


Hi all,

This patch series introduces async requests for read and write
operations. If the read, or the write, is an async operation to begin
with (aio), we can avoid waiting for the server response.

This is my first contribution to 9p, so feedback and suggestions are
welcome!


Changes in v2:
- replace callback with work_struct
- handle large aio read/write requests
- clear pagevec
- rename offset to page_offset
- add file_offset
- add fid
- add completed and tot_size


Stefano Stabellini (7):
9p: add iocb parameter to p9_client_read and p9_client_write
9p: store req details and workqueue in struct p9_req_t
9p: introduce p9_client_get_req
9p: introduce async read requests
9p: introduce async write requests
9p: handle large aio read requests
9p: handle large aio write requests

fs/9p/vfs_addr.c | 8 +-
fs/9p/vfs_dir.c | 2 +-
fs/9p/vfs_file.c | 4 +-
fs/9p/xattr.c | 4 +-
include/net/9p/client.h | 19 ++-
net/9p/client.c | 324 ++++++++++++++++++++++++++++++++++++++++++++++--
6 files changed, 343 insertions(+), 18 deletions(-)