linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] NFS: Manage NFS modularity vs FS-Cache modularity
@ 2006-09-22 11:11 David Howells
  2006-09-22 11:11 ` [PATCH 2/2] AFS: Manage AFS " David Howells
  0 siblings, 1 reply; 5+ messages in thread
From: David Howells @ 2006-09-22 11:11 UTC (permalink / raw)
  To: akpm, evil; +Cc: linux-fsdevel, linux-kernel, dhowells

Manage NFS modularity vs FS-Cache modularity such that NFS doesn't have the
option to use the cache if NFS is built in and FS-Cache is a module.

Signed-Off-By: David Howells <dhowells@redhat.com>
---

 fs/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index afec7e1..77cc578 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1507,7 +1507,8 @@ config NFS_V4
 
 config NFS_FSCACHE
 	bool "Provide NFS client caching support (EXPERIMENTAL)"
-	depends on NFS_FS && FSCACHE && EXPERIMENTAL
+	depends on EXPERIMENTAL
+	depends on NFS_FS=m && FSCACHE || NFS_FS=y && FSCACHE=y
 	help
 	  Say Y here if you want NFS data to be cached locally on disc through
 	  the general filesystem cache manager

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] AFS: Manage AFS modularity vs FS-Cache modularity
  2006-09-22 11:11 [PATCH 1/2] NFS: Manage NFS modularity vs FS-Cache modularity David Howells
@ 2006-09-22 11:11 ` David Howells
  2006-09-22 12:31   ` Jörn Engel
  2006-09-22 14:17   ` David Howells
  0 siblings, 2 replies; 5+ messages in thread
From: David Howells @ 2006-09-22 11:11 UTC (permalink / raw)
  To: akpm, evil; +Cc: linux-fsdevel, linux-kernel, dhowells

Manage AFS modularity vs FS-Cache modularity such that AFS doesn't have the
option to use the cache if AFS is built in and FS-Cache is a module.

Signed-Off-By: David Howells <dhowells@redhat.com>
---

 fs/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index 77cc578..25d2019 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1952,7 +1952,8 @@ # for fs/nls/Config.in
 
 config AFS_FSCACHE
 	bool "Provide AFS client caching support"
-	depends on AFS_FS && FSCACHE && EXPERIMENTAL
+	depends on EXPERIMENTAL
+	depends on AFS_FS=m && FSCACHE || AFS_FS=y && FSCACHE=y
 	help
 	  Say Y here if you want AFS data to be cached locally on through the
 	  generic filesystem cache manager

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] AFS: Manage AFS modularity vs FS-Cache modularity
  2006-09-22 11:11 ` [PATCH 2/2] AFS: Manage AFS " David Howells
@ 2006-09-22 12:31   ` Jörn Engel
  2006-09-22 14:17   ` David Howells
  1 sibling, 0 replies; 5+ messages in thread
From: Jörn Engel @ 2006-09-22 12:31 UTC (permalink / raw)
  To: David Howells; +Cc: akpm, evil, linux-fsdevel, linux-kernel

On Fri, 22 September 2006 12:11:40 +0100, David Howells wrote:
>
>  	bool "Provide AFS client caching support"
                                                 (EXPERIMENTAL) ?
> -	depends on AFS_FS && FSCACHE && EXPERIMENTAL
>  	  Say Y here if you want AFS data to be cached locally on through the
                                                                 disk ?

At least I cannot see why the AFS patch differs from the NFS one in
those two details.

Jörn

-- 
More computing sins are committed in the name of efficiency (without
necessarily achieving it) than for any other single reason - including
blind stupidity.
-- W. A. Wulf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] AFS: Manage AFS modularity vs FS-Cache modularity
  2006-09-22 11:11 ` [PATCH 2/2] AFS: Manage AFS " David Howells
  2006-09-22 12:31   ` Jörn Engel
@ 2006-09-22 14:17   ` David Howells
  2006-09-22 14:25     ` Jörn Engel
  1 sibling, 1 reply; 5+ messages in thread
From: David Howells @ 2006-09-22 14:17 UTC (permalink / raw)
  To: =?iso-8859-1?Q?J=F6rn?= Engel
  Cc: David Howells, akpm, evil, linux-fsdevel, linux-kernel

Jörn Engel <joern@wohnheim.fh-wedel.de> wrote:

> At least I cannot see why the AFS patch differs from the NFS one in
> those two details.

Actually, what the patch itself changes doesn't differ significantly - the
difference is in the patch context.

> >  	bool "Provide AFS client caching support"
>                                                  (EXPERIMENTAL) ?

Well, AFS_FS is itself marked as being experimental, so I'm not sure that the
AFS_FSCACHE option needs to be also.

David
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] AFS: Manage AFS modularity vs FS-Cache modularity
  2006-09-22 14:17   ` David Howells
@ 2006-09-22 14:25     ` Jörn Engel
  0 siblings, 0 replies; 5+ messages in thread
From: Jörn Engel @ 2006-09-22 14:25 UTC (permalink / raw)
  To: David Howells; +Cc: akpm, evil, linux-fsdevel, linux-kernel

On Fri, 22 September 2006 15:17:51 +0100, David Howells wrote:
> 
> Well, AFS_FS is itself marked as being experimental, so I'm not sure that the
> AFS_FSCACHE option needs to be also.

Good point.  The other typo should be fairly obvious, though.

Jörn

-- 
Fancy algorithms are slow when n is small, and n is usually small.
Fancy algorithms have big constants. Until you know that n is
frequently going to be big, don't get fancy.
-- Rob Pike
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-09-22 14:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-22 11:11 [PATCH 1/2] NFS: Manage NFS modularity vs FS-Cache modularity David Howells
2006-09-22 11:11 ` [PATCH 2/2] AFS: Manage AFS " David Howells
2006-09-22 12:31   ` Jörn Engel
2006-09-22 14:17   ` David Howells
2006-09-22 14:25     ` Jörn Engel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).