]> 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)
commita3f20da24ceee15ffc6026b54d6a5731a8105228
tree04d1492038748e64e95f13c295aaf0f338f6af3e
parent587c4ef56b41778b41fc37afad22a2bea27d8916
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