]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
Some qa to test out simple replay of the logs by causing
authorptools <ptools>
Tue, 10 Feb 2004 03:10:49 +0000 (03:10 +0000)
committerptools <ptools>
Tue, 10 Feb 2004 03:10:49 +0000 (03:10 +0000)
file system to shutdown.
A copy of the kernel header file - modified for XFS_IOC_GOINGDOWN
related macros.

include/xfs_fs.h

index 273e7384fa4f3e1da006df0dc7220f117bf4c8fa..1ed650e902d2589e850ef941b0a5df70c73fc1cf 100644 (file)
@@ -437,6 +437,12 @@ typedef struct xfs_handle {
 
 #define FSHSIZE                sizeof(fsid_t)
 
+/* 
+ * Flags for going down operation
+ */
+#define XFS_FSOP_GOING_FLAGS_DEFAULT           0x0     /* going down */
+#define XFS_FSOP_GOING_FLAGS_LOGFLUSH          0x1     /* flush log but not data */
+#define XFS_FSOP_GOING_FLAGS_NOLOGFLUSH                0x2     /* don't flush log nor data */
 
 /*
  * ioctl commands that replace IRIX fcntl()'s
@@ -490,6 +496,7 @@ typedef struct xfs_handle {
 #define XFS_IOC_ATTRLIST_BY_HANDLE   _IOW ('X', 122, struct xfs_fsop_attrlist_handlereq)
 #define XFS_IOC_ATTRMULTI_BY_HANDLE  _IOW ('X', 123, struct xfs_fsop_attrmulti_handlereq)
 #define XFS_IOC_FSGEOMETRY          _IOR ('X', 124, struct xfs_fsop_geom)
+#define XFS_IOC_GOINGDOWN           _IOR ('X', 125, __uint32_t)
 /*     XFS_IOC_GETFSUUID ---------- deprecated 140      */