diff options
author | David Chinner <david@fromorbit.com> | 2008-10-30 02:39:35 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 02:39:35 -0400 |
commit | a9c21c1b9deaced836034e77fe25fe0b55c21f02 (patch) | |
tree | 908b333bd0dd310a6a24760e2eab3bc5371540af /fs/xfs/xfs_log_priv.h | |
parent | c7e8f268278a292d3823b4352182fa7755a71410 (diff) |
[XFS] Given the log a pointer to the AIL
When we need to go from the log to the AIL, we have to go via the
xfs_mount. Add a xfs_ail pointer to the log so we can go directly to the
AIL associated with the log.
SGI-PV: 988143
SGI-Modid: xfs-linux-melb:xfs-kern:32351a
Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/xfs_log_priv.h')
-rw-r--r-- | fs/xfs/xfs_log_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_log_priv.h b/fs/xfs/xfs_log_priv.h index e7d8f84443fa..de7ef6ca9206 100644 --- a/fs/xfs/xfs_log_priv.h +++ b/fs/xfs/xfs_log_priv.h | |||
@@ -404,6 +404,7 @@ typedef struct xlog_in_core { | |||
404 | typedef struct log { | 404 | typedef struct log { |
405 | /* The following fields don't need locking */ | 405 | /* The following fields don't need locking */ |
406 | struct xfs_mount *l_mp; /* mount point */ | 406 | struct xfs_mount *l_mp; /* mount point */ |
407 | struct xfs_ail *l_ailp; /* AIL log is working with */ | ||
407 | struct xfs_buf *l_xbuf; /* extra buffer for log | 408 | struct xfs_buf *l_xbuf; /* extra buffer for log |
408 | * wrapping */ | 409 | * wrapping */ |
409 | struct xfs_buftarg *l_targ; /* buftarg of log */ | 410 | struct xfs_buftarg *l_targ; /* buftarg of log */ |