|
|
| version 1.47, 2007/05/22 15:50:48 | version 1.48, 2007/08/02 16:09:24 |
|---|---|
| Line 30 struct xfs_trans; | Line 30 struct xfs_trans; |
| #define XFS_IALLOC_BLOCKS(mp) (mp)->m_ialloc_blks | #define XFS_IALLOC_BLOCKS(mp) (mp)->m_ialloc_blks |
| /* | /* |
| * For small block file systems, move inodes in clusters of this size. | * Move inodes in clusters of this size. |
| * When we don't have a lot of memory, however, we go a bit smaller | |
| * to reduce the number of AGI and ialloc btree blocks we need to keep | |
| * around for xfs_dilocate(). We choose which one to use in | |
| * xfs_mount_int(). | |
| */ | */ |
| #define XFS_INODE_BIG_CLUSTER_SIZE 8192 | #define XFS_INODE_BIG_CLUSTER_SIZE 8192 |
| #define XFS_INODE_SMALL_CLUSTER_SIZE 4096 | |
| #define XFS_INODE_CLUSTER_SIZE(mp) (mp)->m_inode_cluster_size | #define XFS_INODE_CLUSTER_SIZE(mp) (mp)->m_inode_cluster_size |
| /* | /* |