diff options
Diffstat (limited to 'fs/xfs/xfs_log.h')
-rw-r--r-- | fs/xfs/xfs_log.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h index 04c78e642cc8..916eb7db14d9 100644 --- a/fs/xfs/xfs_log.h +++ b/fs/xfs/xfs_log.h | |||
@@ -55,14 +55,10 @@ static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) | |||
55 | /* | 55 | /* |
56 | * Flags to xfs_log_reserve() | 56 | * Flags to xfs_log_reserve() |
57 | * | 57 | * |
58 | * XFS_LOG_SLEEP: If space is not available, sleep (default) | ||
59 | * XFS_LOG_NOSLEEP: If space is not available, return error | ||
60 | * XFS_LOG_PERM_RESERV: Permanent reservation. When writes are | 58 | * XFS_LOG_PERM_RESERV: Permanent reservation. When writes are |
61 | * performed against this type of reservation, the reservation | 59 | * performed against this type of reservation, the reservation |
62 | * is not decreased. Long running transactions should use this. | 60 | * is not decreased. Long running transactions should use this. |
63 | */ | 61 | */ |
64 | #define XFS_LOG_SLEEP 0x0 | ||
65 | #define XFS_LOG_NOSLEEP 0x1 | ||
66 | #define XFS_LOG_PERM_RESERV 0x2 | 62 | #define XFS_LOG_PERM_RESERV 0x2 |
67 | 63 | ||
68 | /* | 64 | /* |
@@ -104,7 +100,7 @@ static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) | |||
104 | #define XLOG_REG_TYPE_MAX 19 | 100 | #define XLOG_REG_TYPE_MAX 19 |
105 | 101 | ||
106 | typedef struct xfs_log_iovec { | 102 | typedef struct xfs_log_iovec { |
107 | xfs_caddr_t i_addr; /* beginning address of region */ | 103 | void *i_addr; /* beginning address of region */ |
108 | int i_len; /* length in bytes of region */ | 104 | int i_len; /* length in bytes of region */ |
109 | uint i_type; /* type of region */ | 105 | uint i_type; /* type of region */ |
110 | } xfs_log_iovec_t; | 106 | } xfs_log_iovec_t; |
@@ -201,9 +197,4 @@ int xfs_log_commit_cil(struct xfs_mount *mp, struct xfs_trans *tp, | |||
201 | bool xfs_log_item_in_current_chkpt(struct xfs_log_item *lip); | 197 | bool xfs_log_item_in_current_chkpt(struct xfs_log_item *lip); |
202 | 198 | ||
203 | #endif | 199 | #endif |
204 | |||
205 | |||
206 | extern int xlog_debug; /* set to 1 to enable real log */ | ||
207 | |||
208 | |||
209 | #endif /* __XFS_LOG_H__ */ | 200 | #endif /* __XFS_LOG_H__ */ |