]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cifs: Allow directIO read/write during cache=strict
authorNamjae Jeon <namjae.jeon@samsung.com>
Fri, 22 Aug 2014 05:22:51 +0000 (14:22 +0900)
committerSteve French <smfrench@gmail.com>
Fri, 22 Aug 2014 05:20:39 +0000 (00:20 -0500)
commit787aded65044e4cabefcf7eb7576c2dd6b151468
tree43f16f4b5407733662fd975ca8156aef5e545fb4
parentd4a029d21556437b09ffb3207cf2871651bec38f
cifs: Allow directIO read/write during cache=strict

Currently cifs have all or nothing approach for directIO operations.
cache=strict mode does not allow directIO while cache=none mode performs
all the operations as directIO even when user does not specify O_DIRECT
flag. This patch enables strict cache mode to honour directIO semantics.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Ashish Sangwan <a.sangwan@samsung.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/dir.c
fs/cifs/file.c