summaryrefslogtreecommitdiff
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2012-09-19 13:22:45 (GMT)
committerSteve French <smfrench@gmail.com>2012-09-25 02:46:33 (GMT)
commit25078105fbe14e7b3270391eaa11514bec787a52 (patch)
tree13ae2774d194c9ae2c6566a885503164b5ed9434 /mm/madvise.c
parentb8c32dbb0deb287a5fcb78251e4eae6c7275760d (diff)
downloadlinux-25078105fbe14e7b3270391eaa11514bec787a52.tar.xz
CIFS: Fix cache coherency for read oplock case
When we have a file opened with read oplock and we are writing a data to this file, we need to store the data in the cache and then send to the server to ensure that the next read operation will get a coherent data. Also mark it as CONFIG_CIFS_SMB2 because it's more suitable for SMB2 code but can fix some CIFS problems too (when server delays sending an oplock break after a write request). We can drop this ifdefs dependence in future. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions