Re: [PATCH 14/22] NFS: Use local caching

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <unlisted-recipients@...>, <@...>
Cc: <dhowells@...>, Peter Staubach <staubach@...>, <viro@...>, <hch@...>, <Trond.Myklebust@...>, <sds@...>, <casey@...>, <linux-kernel@...>, <selinux@...>, <linux-security-module@...>
Date: Friday, September 21, 2007 - 7:37 pm

David Howells <dhowells@redhat.com> wrote:


fs/nfs/super.c:

		case Opt_sharecache:
			mnt->flags &= ~NFS_MOUNT_UNSHARED;
			break;
		case Opt_nosharecache:
			mnt->flags |= NFS_MOUNT_UNSHARED;
			mnt->options &= ~NFS_OPTION_FSCACHE;
			break;
		case Opt_fscache:
			/* sharing is mandatory with fscache */
			mnt->options |= NFS_OPTION_FSCACHE;
			mnt->flags &= ~NFS_MOUNT_UNSHARED;
			break;
		case Opt_nofscache:
			mnt->options &= ~NFS_OPTION_FSCACHE;
			break;

Hmmm...  Actually, I'm not sure this is sufficient.

David
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/22] Introduce credential record, David Howells, (Fri Sep 21, 10:47 am)
[PATCH 01/22] CRED: Introduce a COW credentials record, David Howells, (Fri Sep 21, 10:47 am)
Re: [PATCH 00/22] Introduce credential record, David Howells, (Fri Sep 21, 10:58 am)
Re: [PATCH 00/22] Introduce credential record, Casey Schaufler, (Fri Sep 21, 11:36 am)
Re: [PATCH 00/22] Introduce credential record, David Howells, (Fri Sep 21, 11:40 am)
Re: [PATCH 00/22] Introduce credential record, Casey Schaufler, (Fri Sep 21, 12:04 pm)
Re: [PATCH 00/22] Introduce credential record, David Howells, (Fri Sep 21, 7:18 pm)
[PATCH 22/22] FS-Cache: Make kAFS use FS-Cache, David Howells, (Fri Sep 21, 10:48 am)
[PATCH 20/22] AFS: Implement shared-writable mmap, David Howells, (Fri Sep 21, 10:48 am)
[PATCH 17/22] AFS: Add TestSetPageError(), David Howells, (Fri Sep 21, 10:48 am)
[PATCH 16/22] NFS: Display local caching state, David Howells, (Fri Sep 21, 10:48 am)
[PATCH 14/22] NFS: Use local caching, David Howells, (Fri Sep 21, 10:48 am)
Re: [PATCH 14/22] NFS: Use local caching, Peter Staubach, (Fri Sep 21, 1:00 pm)
Re: [PATCH 14/22] NFS: Use local caching, David Howells, (Fri Sep 21, 7:22 pm)
Re: [PATCH 14/22] NFS: Use local caching, David Howells, (Fri Sep 21, 7:37 pm)
Re: [PATCH 14/22] NFS: Use local caching, Peter Staubach, (Mon Sep 24, 9:31 am)
[PATCH 12/22] CacheFiles: Export things for CacheFiles, David Howells, (Fri Sep 21, 10:48 am)