Re: [Patch v2 15/15] CIFS: Add direct I/O functions to file_operations

2018-06-07 Thread Pavel Shilovsky
2018-05-30 12:48 GMT-07:00 Long Li : > From: Long Li > > With direct read/write functions implemented, add them to file_operations. > When mounting with "cache=none", CIFS uses direct I/O. > > Signed-off-by: Long Li > --- > fs/cifs/cifsfs.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletio

[Patch v2 15/15] CIFS: Add direct I/O functions to file_operations

2018-05-30 Thread Long Li
From: Long Li With direct read/write functions implemented, add them to file_operations. When mounting with "cache=none", CIFS uses direct I/O. Signed-off-by: Long Li --- fs/cifs/cifsfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs