[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1612151356530.26296@sstabellini-ThinkPad-X260>
Date: Thu, 15 Dec 2016 14:12:35 -0800 (PST)
From: Stefano Stabellini <stefano@...reto.com>
To: v9fs-developer@...ts.sourceforge.net
cc: sstabellini@...nel.org, ericvh@...il.com, rminnich@...dia.gov,
lucho@...kov.net, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/7] async requests support for 9pfs
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(-)
Powered by blists - more mailing lists