Re: [PATCH] nfs: Use libihash for the node cache.

2016-02-14 Thread Justus Winter
Quoting Flavio Cruz (2016-02-15 00:37:54) > * nfs/cache.c: Remove old node cache and use libihash. Use a pointer to > the node handle as the key and the node itself as the value. Use > netfs_make_node_alloc to allow libihash to set 'slot'. > * nfs/nfs.c: Pass in a struct handle instead. > * nfs/nfs

[PATCH] nfs: Use libihash for the node cache.

2016-02-14 Thread Flavio Cruz
* nfs/cache.c: Remove old node cache and use libihash. Use a pointer to the node handle as the key and the node itself as the value. Use netfs_make_node_alloc to allow libihash to set 'slot'. * nfs/nfs.c: Pass in a struct handle instead. * nfs/nfs.h: Add a hurd_ihash_locp_t field and remove hnext a