[PATCH 06/15] xfs: Introduce a new transaction type for inode swapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a new transaction type which would be used for the coming inode
swapping ioctl(2).

Signed-off-by: Jie Liu <jeff.liu@xxxxxxxxxx>
---
 fs/xfs/xfs_trans.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/fs/xfs/xfs_trans.h b/fs/xfs/xfs_trans.h
index 14f897d..33aafda 100644
--- a/fs/xfs/xfs_trans.h
+++ b/fs/xfs/xfs_trans.h
@@ -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
-- 
1.7.4.1

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux