]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Add asynchronous read support through kernel AIO
authorPavel Shilovsky <pshilov@microsoft.com>
Tue, 25 Apr 2017 18:52:30 +0000 (11:52 -0700)
committerSteve French <smfrench@gmail.com>
Tue, 2 May 2017 19:57:34 +0000 (14:57 -0500)
commit0f628c6f5d13dac08ed101f6e4724854cac0a3d2
tree3ee3d0e7c5e4c0fe3364b323d3dcc124df5f6eaa
parentf30891cbf1fb26476e16172a4a4cd7fc2bac3faa
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>
fs/cifs/cifsglob.h
fs/cifs/file.c