Re: [PATCH 5/7] FS-Cache: Generic filesystem caching facility

From: David Howells
Date: Fri Apr 21 2006 - 15:34:07 EST


Andrew Morton <akpm@xxxxxxxx> wrote:

> > Modules that might depend on fscache need to know that it's there,
>
> In theory, module A isn't supposed to care whether module B was configured,
> because module B might be compiled separately, or dowloaded from elsewhere
> or whatever.

In this case it's sort of necessary - unless you're suggesting I make FS-Cache
mandatory...

The problem is that I don't want NFS or whatever to be carrying around the
cookie pointers if FS-Cache isn't compiled as that saves memory. But that
involves conditionally changing the composition of structures, something
that's most clearly done with cpp-conditionals.

David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/