]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Add support for direct I/O read
authorLong Li <longli@microsoft.com>
Wed, 31 Oct 2018 22:13:09 +0000 (22:13 +0000)
committerSteve French <stfrench@microsoft.com>
Fri, 2 Nov 2018 19:09:41 +0000 (14:09 -0500)
commitd9f8284273f55beedb66adbbef670f273fa95f9d
tree1c1c63c0f8191fe88291fe6de8acd341e68bc608
parentcaa4fe91ec9b68d5cbf57924222235ee1836210e
CIFS: Add support for direct I/O read

With direct I/O read, we transfer the data directly from transport layer to
the user data buffer.

Change in v3: add support for kernel AIO

Change in v4:
Refactor common read code to __cifs_readv for direct and non-direct I/O.
Retry on direct I/O failure.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsfs.h
fs/cifs/cifsglob.h
fs/cifs/file.c