diff options
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 3aac46f6853e..b5d7363b22da 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -439,9 +439,6 @@ struct gfs2_args { | |||
439 | struct gfs2_tune { | 439 | struct gfs2_tune { |
440 | spinlock_t gt_spin; | 440 | spinlock_t gt_spin; |
441 | 441 | ||
442 | unsigned int gt_incore_log_blocks; | ||
443 | unsigned int gt_log_flush_secs; | ||
444 | |||
445 | unsigned int gt_logd_secs; | 442 | unsigned int gt_logd_secs; |
446 | 443 | ||
447 | unsigned int gt_quota_simul_sync; /* Max quotavals to sync at once */ | 444 | unsigned int gt_quota_simul_sync; /* Max quotavals to sync at once */ |
@@ -462,6 +459,7 @@ enum { | |||
462 | SDF_SHUTDOWN = 2, | 459 | SDF_SHUTDOWN = 2, |
463 | SDF_NOBARRIERS = 3, | 460 | SDF_NOBARRIERS = 3, |
464 | SDF_NORECOVERY = 4, | 461 | SDF_NORECOVERY = 4, |
462 | SDF_DEMOTE = 5, | ||
465 | }; | 463 | }; |
466 | 464 | ||
467 | #define GFS2_FSNAME_LEN 256 | 465 | #define GFS2_FSNAME_LEN 256 |
@@ -618,6 +616,7 @@ struct gfs2_sbd { | |||
618 | unsigned int sd_log_commited_databuf; | 616 | unsigned int sd_log_commited_databuf; |
619 | int sd_log_commited_revoke; | 617 | int sd_log_commited_revoke; |
620 | 618 | ||
619 | atomic_t sd_log_pinned; | ||
621 | unsigned int sd_log_num_buf; | 620 | unsigned int sd_log_num_buf; |
622 | unsigned int sd_log_num_revoke; | 621 | unsigned int sd_log_num_revoke; |
623 | unsigned int sd_log_num_rg; | 622 | unsigned int sd_log_num_rg; |
@@ -629,15 +628,17 @@ struct gfs2_sbd { | |||
629 | struct list_head sd_log_le_databuf; | 628 | struct list_head sd_log_le_databuf; |
630 | struct list_head sd_log_le_ordered; | 629 | struct list_head sd_log_le_ordered; |
631 | 630 | ||
631 | atomic_t sd_log_thresh1; | ||
632 | atomic_t sd_log_thresh2; | ||
632 | atomic_t sd_log_blks_free; | 633 | atomic_t sd_log_blks_free; |
633 | struct mutex sd_log_reserve_mutex; | 634 | wait_queue_head_t sd_log_waitq; |
635 | wait_queue_head_t sd_logd_waitq; | ||
634 | 636 | ||
635 | u64 sd_log_sequence; | 637 | u64 sd_log_sequence; |
636 | unsigned int sd_log_head; | 638 | unsigned int sd_log_head; |
637 | unsigned int sd_log_tail; | 639 | unsigned int sd_log_tail; |
638 | int sd_log_idle; | 640 | int sd_log_idle; |
639 | 641 | ||
640 | unsigned long sd_log_flush_time; | ||
641 | struct rw_semaphore sd_log_flush_lock; | 642 | struct rw_semaphore sd_log_flush_lock; |
642 | atomic_t sd_log_in_flight; | 643 | atomic_t sd_log_in_flight; |
643 | wait_queue_head_t sd_log_flush_wait; | 644 | wait_queue_head_t sd_log_flush_wait; |