new v_maxra field for clustering,
authorMike Hibler <hibler@ucbvax.Berkeley.EDU>
Thu, 13 Jan 1994 06:32:13 +0000 (22:32 -0800)
committerMike Hibler <hibler@ucbvax.Berkeley.EDU>
Thu, 13 Jan 1994 06:32:13 +0000 (22:32 -0800)
add VT_ISOFS.

SCCS-vsn: sys/sys/vnode.h 8.6

usr/src/sys/sys/vnode.h

index f732863..600539e 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)vnode.h     8.5 (Berkeley) %G%
+ *     @(#)vnode.h     8.6 (Berkeley) %G%
  */
 
 #include <sys/queue.h>
  */
 
 #include <sys/queue.h>
@@ -27,7 +27,7 @@ enum vtype    { VNON, VREG, VDIR, VBLK, VCHR, VLNK, VSOCK, VFIFO, VBAD };
  */
 enum vtagtype  {
        VT_NON, VT_UFS, VT_NFS, VT_MFS, VT_PC, VT_LFS, VT_LOFS, VT_FDESC,
  */
 enum vtagtype  {
        VT_NON, VT_UFS, VT_NFS, VT_MFS, VT_PC, VT_LFS, VT_LOFS, VT_FDESC,
-       VT_PORTAL, VT_NULL, VT_UMAP, VT_KERNFS, VT_PROCFS, VT_AFS
+       VT_PORTAL, VT_NULL, VT_UMAP, VT_KERNFS, VT_PROCFS, VT_AFS, VT_ISOFS
 };
 
 /*
 };
 
 /*
@@ -64,7 +64,8 @@ struct vnode {
        daddr_t v_lasta;                        /* last allocation */
        int     v_clen;                         /* length of current cluster */
        int     v_ralen;                        /* Read-ahead length */
        daddr_t v_lasta;                        /* last allocation */
        int     v_clen;                         /* length of current cluster */
        int     v_ralen;                        /* Read-ahead length */
-       long    v_spare[8];                     /* round to 128 bytes */
+       daddr_t v_maxra;                        /* last readahead block */
+       long    v_spare[7];                     /* round to 128 bytes */
        enum    vtagtype v_tag;                 /* type of underlying data */
        void    *v_data;                        /* private data for fs */
 };
        enum    vtagtype v_tag;                 /* type of underlying data */
        void    *v_data;                        /* private data for fs */
 };