The Coda File Server: Vnodes

Next Previous Contents

## 3. Vnodes

## 3.1 Vnode data structures

1. VnodeDiskObject (cvnode.h): RVM structure holding the following information:
   - type, mode, owner, mtime
   - inodeNumber: for a large vnode a pointer to a directory inode in RVM for a small vnode a real disk inode number of a file.
   - version vector
   - vol_index
   - rec_smolink nextvn: next vnode with the same vnodeindex
   - rec_dlist *log: pointer to resolution log
2. Vnode (cvnode.h): VM structure holding
   - hashnext, lruNext, lruPrev, hashIndex
   - vnodeNumber
   - VolumePtr
   - VnodeDiskObject *
3. VnodeClassInfoArray: global VM variable with summary information.

Next Previous Contents