* [PATCH 06/15] xfs: Introduce a new transaction type for inode swapping
@ 2012-11-16 6:45 Jeff Liu
0 siblings, 0 replies; only message in thread
From: Jeff Liu @ 2012-11-16 6:45 UTC (permalink / raw)
To: xfs
This is a new transaction type which would be used for the coming inode
swapping ioctl(2).
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
---
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@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-16 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 6:45 [PATCH 06/15] xfs: Introduce a new transaction type for inode swapping Jeff Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox