[OpenAFS] AFS cache in ZFS?
Thu, 7 Feb 2008 12:58:32 -0500
On Feb 7, 2008 12:56 PM, Tim Spriggs <email@example.com> wrote:
> Derrick Brashear wrote:
> > On Feb 7, 2008 12:16 PM, Brian Sebby <firstname.lastname@example.org> wrote:
> >> Just wondering, has anyone used ZFS for the AFS cache backend?
> > You can't.
> > We could fix that by doing what we do for the disk cache on Leopard for Solaris.
> > No one has yet. I don't know what the kernel API for opening files by
> > path (vnode_open equivalent) looks like but that's basically all you
> > need.
> However, you can create a zvol and put a UFS filesystem on the zvol.
> Then the cache can go onto the UFS filesystem (which resides on a
> zpool). This type of solution is more attractive to some than others.
it is, but, the solution i mention will actually make us filesystem
agnostic for cache and quite possibly avoids kernel locking issues.