aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index c373a24fedd9..e2601ba38ef5 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -52,7 +52,6 @@ struct gfs2_log_header_host {
52 */ 52 */
53 53
54struct gfs2_log_operations { 54struct gfs2_log_operations {
55 void (*lo_add) (struct gfs2_sbd *sdp, struct gfs2_bufdata *bd);
56 void (*lo_before_commit) (struct gfs2_sbd *sdp); 55 void (*lo_before_commit) (struct gfs2_sbd *sdp);
57 void (*lo_after_commit) (struct gfs2_sbd *sdp, struct gfs2_ail *ai); 56 void (*lo_after_commit) (struct gfs2_sbd *sdp, struct gfs2_ail *ai);
58 void (*lo_before_scan) (struct gfs2_jdesc *jd, 57 void (*lo_before_scan) (struct gfs2_jdesc *jd,
@@ -341,6 +340,7 @@ enum {
341 GIF_QD_LOCKED = 1, 340 GIF_QD_LOCKED = 1,
342 GIF_ALLOC_FAILED = 2, 341 GIF_ALLOC_FAILED = 2,
343 GIF_SW_PAGED = 3, 342 GIF_SW_PAGED = 3,
343 GIF_ORDERED = 4,
344}; 344};
345 345
346struct gfs2_inode { 346struct gfs2_inode {
@@ -357,6 +357,7 @@ struct gfs2_inode {
357 struct gfs2_rgrpd *i_rgd; 357 struct gfs2_rgrpd *i_rgd;
358 u64 i_goal; /* goal block for allocations */ 358 u64 i_goal; /* goal block for allocations */
359 struct rw_semaphore i_rw_mutex; 359 struct rw_semaphore i_rw_mutex;
360 struct list_head i_ordered;
360 struct list_head i_trunc_list; 361 struct list_head i_trunc_list;
361 __be64 *i_hash_cache; 362 __be64 *i_hash_cache;
362 u32 i_entries; 363 u32 i_entries;
@@ -641,6 +642,7 @@ struct gfs2_sbd {
641 wait_queue_head_t sd_glock_wait; 642 wait_queue_head_t sd_glock_wait;
642 atomic_t sd_glock_disposal; 643 atomic_t sd_glock_disposal;
643 struct completion sd_locking_init; 644 struct completion sd_locking_init;
645 struct completion sd_wdack;
644 struct delayed_work sd_control_work; 646 struct delayed_work sd_control_work;
645 647
646 /* Inode Stuff */ 648 /* Inode Stuff */
@@ -723,6 +725,7 @@ struct gfs2_sbd {
723 struct list_head sd_log_le_revoke; 725 struct list_head sd_log_le_revoke;
724 struct list_head sd_log_le_databuf; 726 struct list_head sd_log_le_databuf;
725 struct list_head sd_log_le_ordered; 727 struct list_head sd_log_le_ordered;
728 spinlock_t sd_ordered_lock;
726 729
727 atomic_t sd_log_thresh1; 730 atomic_t sd_log_thresh1;
728 atomic_t sd_log_thresh2; 731 atomic_t sd_log_thresh2;
@@ -758,10 +761,7 @@ struct gfs2_sbd {
758 unsigned int sd_replayed_blocks; 761 unsigned int sd_replayed_blocks;
759 762
760 /* For quiescing the filesystem */ 763 /* For quiescing the filesystem */
761
762 struct gfs2_holder sd_freeze_gh; 764 struct gfs2_holder sd_freeze_gh;
763 struct mutex sd_freeze_lock;
764 unsigned int sd_freeze_count;
765 765
766 char sd_fsname[GFS2_FSNAME_LEN]; 766 char sd_fsname[GFS2_FSNAME_LEN];
767 char sd_table_name[GFS2_FSNAME_LEN]; 767 char sd_table_name[GFS2_FSNAME_LEN];