From: ptools Date: Tue, 10 Feb 2004 03:10:49 +0000 (+0000) Subject: Some qa to test out simple replay of the logs by causing X-Git-Tag: v2.7.0~137 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6efd756616a2327bfaf22252193bf0d54ef34e46;p=thirdparty%2Fxfsprogs-dev.git Some qa to test out simple replay of the logs by causing file system to shutdown. A copy of the kernel header file - modified for XFS_IOC_GOINGDOWN related macros. --- diff --git a/include/xfs_fs.h b/include/xfs_fs.h index 273e7384f..1ed650e90 100644 --- a/include/xfs_fs.h +++ b/include/xfs_fs.h @@ -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 */