Move the FFS parameter MAXFRAG from <sys/param.h> to <ufs/ffs/fs.h>
Sponsored by: DARPA & NAI Labs.
This commit is contained in:
parent
199f184a0a
commit
65c4a4cb9d
@ -153,7 +153,6 @@
|
||||
#define MAXBSIZE 65536 /* must be power of 2 */
|
||||
#define BKVASIZE 16384 /* must be power of 2 */
|
||||
#define BKVAMASK (BKVASIZE-1)
|
||||
#define MAXFRAG 8
|
||||
|
||||
/*
|
||||
* MAXPATHLEN defines the longest permissible path length after expanding
|
||||
|
@ -35,6 +35,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <ufs/ffs/fs.h>
|
||||
|
||||
/*
|
||||
* Bit patterns for identifying fragments in the block map
|
||||
|
@ -68,6 +68,8 @@
|
||||
#define BBLOCK ((ufs_daddr_t)(0))
|
||||
#define SBLOCK ((ufs_daddr_t)(BBLOCK + BBSIZE / DEV_BSIZE))
|
||||
|
||||
/* Max number of fragments per block, this is not tweakable */
|
||||
#define MAXFRAG 8
|
||||
/*
|
||||
* Addresses stored in inodes are capable of addressing fragments
|
||||
* of `blocks'. File system blocks of at most size MAXBSIZE can
|
||||
|
Loading…
x
Reference in New Issue
Block a user