diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2017-04-25 11:52:30 -0700 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-05-02 14:57:34 -0500 |
commit | 6685c5e2d1acae8e7d3b63b1a205f58420ce7150 (patch) | |
tree | 3ee3d0e7c5e4c0fe3364b323d3dcc124df5f6eaa /fs/cifs/cifsglob.h | |
parent | ccf7f4088af2dd6733bfcbc40b488e2484345ae5 (diff) |
CIFS: Add asynchronous read support through kernel AIO
This patch adds support to process read calls passed by io_submit()
asynchronously. It based on the previously introduced async context
that allows to process i/o responses in a separate thread and
return the caller immediately for asynchronous calls.
This improves reading performance of single threaded applications
with increasing of i/o queue depth size.
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index bb412261d601..9438c7cd8dc7 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -1140,6 +1140,7 @@ struct cifs_readdata { struct completion done; struct cifsFileInfo *cfile; struct address_space *mapping; + struct cifs_aio_ctx *ctx; __u64 offset; unsigned int bytes; unsigned int got_bytes; |