[OpenAFS] Solaris 10u6: ZFS cache?

Derrick Brashear shadow@gmail.com
Wed, 12 Nov 2008 12:08:39 -0500


> The first patch in effect does not use inodes at all, all operations
> on the cache files are done via vn_ or VOP_* operations using the the vnode.
>
> I tried creating a /tmp/afscache where /tmp in in swap. and it works!
> The /etd/init.d/afs script needs to create the /tmp/afscache directory.
>
> So are you leaning to using the AFS_CACHE_VNODE_PATH approach
> in all cases?

We need to collectively decide it. But there's value in cache in tmpfs...

> One of the trade offs is that I had to use the pn_get_buf, lookuppnvp
> to get the vnode, so it could pass the afs_osi_cred.

Does this mean future sadness?

> With the vfs_vget or tmp_vget approach one has to now how
> to  build the fid_t  from the inode as returned by stat.
>
> I have been looking at the Open Solaris code for all this...
>