xfs: Introduce a new transaction type for inode swapping
PATCH 6/15 xfs: Introduce a new transaction type for inode swapping
This is a new transaction type which would be used for the coming inode swapping ioctl(2).
Signed-off-by Jie Liu <[email protected]>
--- fs/xfs/xfs_trans.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
fs/xfs/xfs_trans.h +4 -2
@@ -108,7 +108,8 @@ typedef struct xfs_trans_header {#define XFS_TRANS_SB_COUNT 41#define XFS_TRANS_CHECKPOINT 42#define XFS_TRANS_SET_AGSTATE 43 -#define XFS_TRANS_TYPE_MAX 43 +#define XFS_TRANS_SWAPINO 44 +#define XFS_TRANS_TYPE_MAX 44/* new transaction types need to be reflected in xfs_logprint(8) */ #define XFS_TRANS_TYPES \
@@ -154,7 +155,8 @@ typedef struct xfs_trans_header { { XFS_TRANS_DUMMY1, "DUMMY1" }, \ { XFS_TRANS_DUMMY2, "DUMMY2" }, \ { XLOG_UNMOUNT_REC_TYPE, "UNMOUNT" }, \ - { XFS_TRANS_SET_AGSTATE, "SET_AGSTATE" } + { XFS_TRANS_SET_AGSTATE, "SET_AGSTATE" }, \ + { XFS_TRANS_SWAPINO, "SWAPINO" }/* * This structure is used to track log items associated with
Signature · 6 lines
1.7.4.1 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs