update with the current system on monet
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 25 Mar 1982 15:39:15 +0000 (07:39 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Thu, 25 Mar 1982 15:39:15 +0000 (07:39 -0800)
SCCS-vsn: sys/ufs/ffs/fs.h 1.16

usr/src/sys/ufs/ffs/fs.h

index 4b3de89..ff768fb 100644 (file)
@@ -1,6 +1,6 @@
 /* Copyright (c) 1981 Regents of the University of California */
 
 /* Copyright (c) 1981 Regents of the University of California */
 
-/*     fs.h    1.15    %G%     */
+/*     fs.h    1.16    %G%     */
 
 /*
  * Each disk drive contains some number of file systems.
 
 /*
  * Each disk drive contains some number of file systems.
  * The path name on which the file system is mounted is maintained
  * in fs_fsmnt. MAXMNTLEN defines the amount of space allocated in 
  * the super block for this name.
  * The path name on which the file system is mounted is maintained
  * in fs_fsmnt. MAXMNTLEN defines the amount of space allocated in 
  * the super block for this name.
+ * The limit on the amount of summary information per file system
+ * is defined by MAXCSBUFS. It is currently parameterized for 1Meg
+ * cylinders maximum.
  */
 #define MAXMNTLEN 34
  */
 #define MAXMNTLEN 34
+#define MAXCSBUFS 16
 
 /*
  * Per cylinder group information; summarized in blocks allocated
 
 /*
  * Per cylinder group information; summarized in blocks allocated
@@ -204,7 +208,7 @@ struct      fs
        char    fs_fsmnt[MAXMNTLEN];    /* name mounted on */
 /* these fields retain the current block allocation info */
        long    fs_cgrotor;             /* last cg searched */
        char    fs_fsmnt[MAXMNTLEN];    /* name mounted on */
 /* these fields retain the current block allocation info */
        long    fs_cgrotor;             /* last cg searched */
-       struct  csum *fs_csp[NBUF / 2]; /* list of fs_cs info buffers */
+       struct  csum *fs_csp[MAXCSBUFS];/* list of fs_cs info buffers */
        short   fs_cpc;                 /* cyl per cycle in postbl */
        short   fs_postbl[MAXCPG][NRPOS];/* head of blocks for each rotation */
        u_char  fs_rotbl[1];            /* list of blocks for each rotation */
        short   fs_cpc;                 /* cyl per cycle in postbl */
        short   fs_postbl[MAXCPG][NRPOS];/* head of blocks for each rotation */
        u_char  fs_rotbl[1];            /* list of blocks for each rotation */