diff options
Diffstat (limited to 'fs/xfs/xfs_mount.h')
-rw-r--r-- | fs/xfs/xfs_mount.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xfs_mount.h index deee09e534dc..bab8314507e4 100644 --- a/fs/xfs/xfs_mount.h +++ b/fs/xfs/xfs_mount.h | |||
@@ -51,8 +51,6 @@ typedef struct xfs_trans_reservations { | |||
51 | 51 | ||
52 | #else /* __KERNEL__ */ | 52 | #else /* __KERNEL__ */ |
53 | 53 | ||
54 | #include "xfs_sync.h" | ||
55 | |||
56 | struct xlog; | 54 | struct xlog; |
57 | struct xfs_inode; | 55 | struct xfs_inode; |
58 | struct xfs_mru_cache; | 56 | struct xfs_mru_cache; |
@@ -197,9 +195,9 @@ typedef struct xfs_mount { | |||
197 | struct mutex m_icsb_mutex; /* balancer sync lock */ | 195 | struct mutex m_icsb_mutex; /* balancer sync lock */ |
198 | #endif | 196 | #endif |
199 | struct xfs_mru_cache *m_filestream; /* per-mount filestream data */ | 197 | struct xfs_mru_cache *m_filestream; /* per-mount filestream data */ |
200 | struct delayed_work m_sync_work; /* background sync work */ | ||
201 | struct delayed_work m_reclaim_work; /* background inode reclaim */ | 198 | struct delayed_work m_reclaim_work; /* background inode reclaim */ |
202 | struct work_struct m_flush_work; /* background inode flush */ | 199 | struct delayed_work m_eofblocks_work; /* background eof blocks |
200 | trimming */ | ||
203 | __int64_t m_update_flags; /* sb flags we need to update | 201 | __int64_t m_update_flags; /* sb flags we need to update |
204 | on the next remount,rw */ | 202 | on the next remount,rw */ |
205 | struct shrinker m_inode_shrink; /* inode reclaim shrinker */ | 203 | struct shrinker m_inode_shrink; /* inode reclaim shrinker */ |
@@ -209,6 +207,9 @@ typedef struct xfs_mount { | |||
209 | struct workqueue_struct *m_data_workqueue; | 207 | struct workqueue_struct *m_data_workqueue; |
210 | struct workqueue_struct *m_unwritten_workqueue; | 208 | struct workqueue_struct *m_unwritten_workqueue; |
211 | struct workqueue_struct *m_cil_workqueue; | 209 | struct workqueue_struct *m_cil_workqueue; |
210 | struct workqueue_struct *m_reclaim_workqueue; | ||
211 | struct workqueue_struct *m_log_workqueue; | ||
212 | struct workqueue_struct *m_eofblocks_workqueue; | ||
212 | } xfs_mount_t; | 213 | } xfs_mount_t; |
213 | 214 | ||
214 | /* | 215 | /* |
@@ -387,7 +388,9 @@ extern void xfs_set_low_space_thresholds(struct xfs_mount *); | |||
387 | extern void xfs_mod_sb(struct xfs_trans *, __int64_t); | 388 | extern void xfs_mod_sb(struct xfs_trans *, __int64_t); |
388 | extern int xfs_initialize_perag(struct xfs_mount *, xfs_agnumber_t, | 389 | extern int xfs_initialize_perag(struct xfs_mount *, xfs_agnumber_t, |
389 | xfs_agnumber_t *); | 390 | xfs_agnumber_t *); |
390 | extern void xfs_sb_from_disk(struct xfs_mount *, struct xfs_dsb *); | 391 | extern void xfs_sb_from_disk(struct xfs_sb *, struct xfs_dsb *); |
391 | extern void xfs_sb_to_disk(struct xfs_dsb *, struct xfs_sb *, __int64_t); | 392 | extern void xfs_sb_to_disk(struct xfs_dsb *, struct xfs_sb *, __int64_t); |
392 | 393 | ||
394 | extern const struct xfs_buf_ops xfs_sb_buf_ops; | ||
395 | |||
393 | #endif /* __XFS_MOUNT_H__ */ | 396 | #endif /* __XFS_MOUNT_H__ */ |