diff options
| author | hannken <hannken@NetBSD.org> | 2014-05-08 08:21:53 +0000 |
|---|---|---|
| committer | hannken <hannken@NetBSD.org> | 2014-05-08 08:21:53 +0000 |
| commit | cd35d2d831bb7c75b02714db29e519871797fcd6 (patch) | |
| tree | 64669919775be70d0f4c2dc21cd441c8b46cd3fa /sys/dev/raidframe | |
| parent | 1b326eac321b0be40011f9c9e25ca7a73d558d54 (diff) | |
Add a global vnode cache:
- vcache_get() retrieves a referenced and initialised vnode / fs node pair.
- vcache_remove() removes a vnode / fs node pair from the cache.
On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to
initialise a vnode / fs node pair. This call is guaranteed exclusive,
no other thread will try to load this vnode / fs node pair.
Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface.
Remove now unused ufs/ufs_ihash
Discussed on tech-kern.
Welcome to 6.99.41
Diffstat (limited to 'sys/dev/raidframe')
0 files changed, 0 insertions, 0 deletions
