diff options
Diffstat (limited to 'fs/xfs/xfs_alloc_btree.h')
-rw-r--r-- | fs/xfs/xfs_alloc_btree.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/fs/xfs/xfs_alloc_btree.h b/fs/xfs/xfs_alloc_btree.h index a6caa0022c9b..359fb86ed876 100644 --- a/fs/xfs/xfs_alloc_btree.h +++ b/fs/xfs/xfs_alloc_btree.h | |||
@@ -51,20 +51,6 @@ typedef struct xfs_alloc_rec_incore { | |||
51 | typedef __be32 xfs_alloc_ptr_t; | 51 | typedef __be32 xfs_alloc_ptr_t; |
52 | 52 | ||
53 | /* | 53 | /* |
54 | * Minimum and maximum blocksize and sectorsize. | ||
55 | * The blocksize upper limit is pretty much arbitrary. | ||
56 | * The sectorsize upper limit is due to sizeof(sb_sectsize). | ||
57 | */ | ||
58 | #define XFS_MIN_BLOCKSIZE_LOG 9 /* i.e. 512 bytes */ | ||
59 | #define XFS_MAX_BLOCKSIZE_LOG 16 /* i.e. 65536 bytes */ | ||
60 | #define XFS_MIN_BLOCKSIZE (1 << XFS_MIN_BLOCKSIZE_LOG) | ||
61 | #define XFS_MAX_BLOCKSIZE (1 << XFS_MAX_BLOCKSIZE_LOG) | ||
62 | #define XFS_MIN_SECTORSIZE_LOG 9 /* i.e. 512 bytes */ | ||
63 | #define XFS_MAX_SECTORSIZE_LOG 15 /* i.e. 32768 bytes */ | ||
64 | #define XFS_MIN_SECTORSIZE (1 << XFS_MIN_SECTORSIZE_LOG) | ||
65 | #define XFS_MAX_SECTORSIZE (1 << XFS_MAX_SECTORSIZE_LOG) | ||
66 | |||
67 | /* | ||
68 | * Block numbers in the AG: | 54 | * Block numbers in the AG: |
69 | * SB is sector 0, AGF is sector 1, AGI is sector 2, AGFL is sector 3. | 55 | * SB is sector 0, AGF is sector 1, AGI is sector 2, AGFL is sector 3. |
70 | */ | 56 | */ |