Linux-kernel mailing list archive 1999-23,: Re: cachefs module for linux?

# Re: cachefs module for linux?

Jeff Garzik (jgarzik@pobox.com)
Tue, 8 Jun 1999 10:27:39 -0400 (EDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Pavel Machek: "Re: 2.3.4: deadlocks when writing many data"
- Previous message: Paul Jakma: "Re: Migrating to larger numbers"

On Tue, 8 Jun 1999, Juan Antonio Martinez wrote:
> 1- Are there any fs module to implement a local disk cache over
> NFS readonly mounted filesystems? Something about Solaris's cachefs

cachefs gets mentioned now and again, and is very useful. We used it on
the cnn.com Web farm, where we had one big machine (NFS server) and
several Web servers all mounting the big server's drives with
nfs+cachefs. cachefs really improved throughput, but cnn.com uses
almost exclusively static files.

With regards to implementation, I had a thought about that.

Have a simple VFS module which mounts the given block device, and registers
a "cacheable disk area" with the kernel. Maybe have mmap or ioctl hooks
for speedy access to userland.

knfsd, nfsd, or other networking modules can use this cacheable area as
they see fit...

Jeff

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

- Next message: Pavel Machek: "Re: 2.3.4: deadlocks when writing many data"
- Previous message: Paul Jakma: "Re: Migrating to larger numbers"