]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: add mount option to enable local caching
authorSuresh Jayaraman <sjayaraman@suse.de>
Mon, 5 Jul 2010 12:43:36 +0000 (18:13 +0530)
committerSteve French <sfrench@us.ibm.com>
Mon, 2 Aug 2010 12:40:37 +0000 (12:40 +0000)
commit89a3a58d30add43f98c5b40769d5ff80fb26d94e
tree51ed23f935dcd4536417613cf88c2dcfc369fd08
parent454bfd944a65250b10efaecf991f57ecbe8a8c06
cifs: add mount option to enable local caching

Add a mount option 'fsc' to enable local caching on CIFS.

I considered adding a separate debug bit for caching, but it appears that
debugging would be relatively easier with the normal CIFS_INFO level.

As the cifs-utils (userspace) changes are not done yet, this patch enables
'fsc' by default to enable testing.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_fs_sb.h
fs/cifs/connect.c