diff options
author | Christoph Hellwig <hch@infradead.org> | 2007-08-28 21:46:28 -0400 |
---|---|---|
committer | Tim Shimmin <tes@chook.melbourne.sgi.com> | 2007-10-15 21:38:56 -0400 |
commit | b677c210cec0d6755335ffc01691982c417dd39e (patch) | |
tree | 9a61fdd81e48aac948346a096bed9c72e5f34114 /fs/xfs/linux-2.6/xfs_vnode.h | |
parent | 09262b4339de5417a10803fbfac277eebb38ca5a (diff) |
[XFS] move v_iocount from bhv_vnode to xfs_inode
struct bhv_vnode is on it's way out, so move the I/O count to the XFS
inode.
SGI-PV: 969608
SGI-Modid: xfs-linux-melb:xfs-kern:29497a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vnode.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vnode.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.h b/fs/xfs/linux-2.6/xfs_vnode.h index c8af208a73dc..321346d95267 100644 --- a/fs/xfs/linux-2.6/xfs_vnode.h +++ b/fs/xfs/linux-2.6/xfs_vnode.h | |||
@@ -29,7 +29,6 @@ typedef __u64 bhv_vnumber_t; | |||
29 | 29 | ||
30 | typedef struct bhv_vnode { | 30 | typedef struct bhv_vnode { |
31 | bhv_vnumber_t v_number; /* in-core vnode number */ | 31 | bhv_vnumber_t v_number; /* in-core vnode number */ |
32 | atomic_t v_iocount; /* outstanding I/O count */ | ||
33 | #ifdef XFS_VNODE_TRACE | 32 | #ifdef XFS_VNODE_TRACE |
34 | struct ktrace *v_trace; /* trace header structure */ | 33 | struct ktrace *v_trace; /* trace header structure */ |
35 | #endif | 34 | #endif |
@@ -202,10 +201,13 @@ extern int vn_revalidate(struct bhv_vnode *); | |||
202 | extern int __vn_revalidate(struct bhv_vnode *, bhv_vattr_t *); | 201 | extern int __vn_revalidate(struct bhv_vnode *, bhv_vattr_t *); |
203 | extern void vn_revalidate_core(struct bhv_vnode *, bhv_vattr_t *); | 202 | extern void vn_revalidate_core(struct bhv_vnode *, bhv_vattr_t *); |
204 | 203 | ||
205 | extern void vn_iowait(struct bhv_vnode *vp); | 204 | /* |
206 | extern void vn_iowake(struct bhv_vnode *vp); | 205 | * Yeah, these don't take vnode anymore at all, all this should be |
207 | 206 | * cleaned up at some point. | |
208 | extern void vn_ioerror(struct bhv_vnode *vp, int error, char *f, int l); | 207 | */ |
208 | extern void vn_iowait(struct xfs_inode *ip); | ||
209 | extern void vn_iowake(struct xfs_inode *ip); | ||
210 | extern void vn_ioerror(struct xfs_inode *ip, int error, char *f, int l); | ||
209 | 211 | ||
210 | static inline int vn_count(struct bhv_vnode *vp) | 212 | static inline int vn_count(struct bhv_vnode *vp) |
211 | { | 213 | { |