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

With direct I/O write, user supplied buffers are pinned to the memory and data
are transferred directly from user buffers to the transport layer.

Change in v3: add support for kernel AIO

Change in v4:
Refactor common write code to __cifs_writev 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/file.c