mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
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
c677a10e48
commit
a463023d6d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93736
sys
@ -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…
Reference in New Issue
Block a user