diff options
author | Alex Elder <aelder@sgi.com> | 2010-05-19 10:59:23 -0400 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 10:59:23 -0400 |
commit | e9cee8e6549b669080e9a7d02b8387086a5c911d (patch) | |
tree | 292ee423003343833a9f0f6dbf7f870b977b8b1e /fs/xfs/xfs_log.h | |
parent | 537b60d17894b7c19a6060feae40299d7109d6e7 (diff) | |
parent | b4ed4626a9775cd8cb77209280d24839526f94f2 (diff) |
Merge branch 'master' into for-linus
Diffstat (limited to 'fs/xfs/xfs_log.h')
-rw-r--r-- | fs/xfs/xfs_log.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log.h b/fs/xfs/xfs_log.h index 97a24c7795a4..229d1f36ba9a 100644 --- a/fs/xfs/xfs_log.h +++ b/fs/xfs/xfs_log.h | |||
@@ -110,6 +110,12 @@ typedef struct xfs_log_iovec { | |||
110 | uint i_type; /* type of region */ | 110 | uint i_type; /* type of region */ |
111 | } xfs_log_iovec_t; | 111 | } xfs_log_iovec_t; |
112 | 112 | ||
113 | struct xfs_log_vec { | ||
114 | struct xfs_log_vec *lv_next; /* next lv in build list */ | ||
115 | int lv_niovecs; /* number of iovecs in lv */ | ||
116 | struct xfs_log_iovec *lv_iovecp; /* iovec array */ | ||
117 | }; | ||
118 | |||
113 | /* | 119 | /* |
114 | * Structure used to pass callback function and the function's argument | 120 | * Structure used to pass callback function and the function's argument |
115 | * to the log manager. | 121 | * to the log manager. |
@@ -126,6 +132,13 @@ typedef struct xfs_log_callback { | |||
126 | struct xfs_mount; | 132 | struct xfs_mount; |
127 | struct xlog_in_core; | 133 | struct xlog_in_core; |
128 | struct xlog_ticket; | 134 | struct xlog_ticket; |
135 | struct xfs_log_item; | ||
136 | struct xfs_item_ops; | ||
137 | |||
138 | void xfs_log_item_init(struct xfs_mount *mp, | ||
139 | struct xfs_log_item *item, | ||
140 | int type, | ||
141 | struct xfs_item_ops *ops); | ||
129 | 142 | ||
130 | xfs_lsn_t xfs_log_done(struct xfs_mount *mp, | 143 | xfs_lsn_t xfs_log_done(struct xfs_mount *mp, |
131 | struct xlog_ticket *ticket, | 144 | struct xlog_ticket *ticket, |