CIFS: Add strictcache mount option
authorPavel Shilovsky <piastryyy@gmail.com>
Mon, 24 Jan 2011 19:16:35 +0000 (14:16 -0500)
committerSteve French <sfrench@us.ibm.com>
Tue, 25 Jan 2011 19:31:38 +0000 (19:31 +0000)
commitd39454ffe4a3c85428483b8a8a8e5e797b6363d5
tree60d9762510ed6e1da338d5777827e18917e799bf
parent72432ffcf555decbbae47f1be338e1d2f210aa69
CIFS: Add strictcache mount option

Use for switching on strict cache mode. In this mode the
client reads from the cache all the time it has Oplock Level II,
otherwise - read from the server. As for write - the client stores
a data in the cache in Exclusive Oplock case, otherwise - write
directly to the server.

Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/README
fs/cifs/connect.c