|
@@ -29,9 +29,7 @@ extern struct workqueue_struct *xfs_alloc_wq;
|
|
|
/*
|
|
/*
|
|
|
* Freespace allocation types. Argument to xfs_alloc_[v]extent.
|
|
* Freespace allocation types. Argument to xfs_alloc_[v]extent.
|
|
|
*/
|
|
*/
|
|
|
-#define XFS_ALLOCTYPE_ANY_AG 0x01 /* allocate anywhere, use rotor */
|
|
|
|
|
#define XFS_ALLOCTYPE_FIRST_AG 0x02 /* ... start at ag 0 */
|
|
#define XFS_ALLOCTYPE_FIRST_AG 0x02 /* ... start at ag 0 */
|
|
|
-#define XFS_ALLOCTYPE_START_AG 0x04 /* anywhere, start in this a.g. */
|
|
|
|
|
#define XFS_ALLOCTYPE_THIS_AG 0x08 /* anywhere in this a.g. */
|
|
#define XFS_ALLOCTYPE_THIS_AG 0x08 /* anywhere in this a.g. */
|
|
|
#define XFS_ALLOCTYPE_START_BNO 0x10 /* near this block else anywhere */
|
|
#define XFS_ALLOCTYPE_START_BNO 0x10 /* near this block else anywhere */
|
|
|
#define XFS_ALLOCTYPE_NEAR_BNO 0x20 /* in this a.g. and near this block */
|
|
#define XFS_ALLOCTYPE_NEAR_BNO 0x20 /* in this a.g. and near this block */
|
|
@@ -41,9 +39,7 @@ extern struct workqueue_struct *xfs_alloc_wq;
|
|
|
typedef unsigned int xfs_alloctype_t;
|
|
typedef unsigned int xfs_alloctype_t;
|
|
|
|
|
|
|
|
#define XFS_ALLOC_TYPES \
|
|
#define XFS_ALLOC_TYPES \
|
|
|
- { XFS_ALLOCTYPE_ANY_AG, "ANY_AG" }, \
|
|
|
|
|
{ XFS_ALLOCTYPE_FIRST_AG, "FIRST_AG" }, \
|
|
{ XFS_ALLOCTYPE_FIRST_AG, "FIRST_AG" }, \
|
|
|
- { XFS_ALLOCTYPE_START_AG, "START_AG" }, \
|
|
|
|
|
{ XFS_ALLOCTYPE_THIS_AG, "THIS_AG" }, \
|
|
{ XFS_ALLOCTYPE_THIS_AG, "THIS_AG" }, \
|
|
|
{ XFS_ALLOCTYPE_START_BNO, "START_BNO" }, \
|
|
{ XFS_ALLOCTYPE_START_BNO, "START_BNO" }, \
|
|
|
{ XFS_ALLOCTYPE_NEAR_BNO, "NEAR_BNO" }, \
|
|
{ XFS_ALLOCTYPE_NEAR_BNO, "NEAR_BNO" }, \
|