diff options
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index 6edb423f90b3..3aac46f6853e 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -162,6 +162,8 @@ struct gfs2_glock_operations { | |||
162 | void (*go_callback) (struct gfs2_glock *gl); | 162 | void (*go_callback) (struct gfs2_glock *gl); |
163 | const int go_type; | 163 | const int go_type; |
164 | const unsigned long go_min_hold_time; | 164 | const unsigned long go_min_hold_time; |
165 | const unsigned long go_flags; | ||
166 | #define GLOF_ASPACE 1 | ||
165 | }; | 167 | }; |
166 | 168 | ||
167 | enum { | 169 | enum { |
@@ -225,7 +227,6 @@ struct gfs2_glock { | |||
225 | 227 | ||
226 | struct gfs2_sbd *gl_sbd; | 228 | struct gfs2_sbd *gl_sbd; |
227 | 229 | ||
228 | struct inode *gl_aspace; | ||
229 | struct list_head gl_ail_list; | 230 | struct list_head gl_ail_list; |
230 | atomic_t gl_ail_count; | 231 | atomic_t gl_ail_count; |
231 | struct delayed_work gl_work; | 232 | struct delayed_work gl_work; |
@@ -258,7 +259,6 @@ enum { | |||
258 | GIF_INVALID = 0, | 259 | GIF_INVALID = 0, |
259 | GIF_QD_LOCKED = 1, | 260 | GIF_QD_LOCKED = 1, |
260 | GIF_SW_PAGED = 3, | 261 | GIF_SW_PAGED = 3, |
261 | GIF_USER = 4, /* user inode, not metadata addr space */ | ||
262 | }; | 262 | }; |
263 | 263 | ||
264 | 264 | ||
@@ -429,7 +429,11 @@ struct gfs2_args { | |||
429 | unsigned int ar_meta:1; /* mount metafs */ | 429 | unsigned int ar_meta:1; /* mount metafs */ |
430 | unsigned int ar_discard:1; /* discard requests */ | 430 | unsigned int ar_discard:1; /* discard requests */ |
431 | unsigned int ar_errors:2; /* errors=withdraw | panic */ | 431 | unsigned int ar_errors:2; /* errors=withdraw | panic */ |
432 | unsigned int ar_nobarrier:1; /* do not send barriers */ | ||
432 | int ar_commit; /* Commit interval */ | 433 | int ar_commit; /* Commit interval */ |
434 | int ar_statfs_quantum; /* The fast statfs interval */ | ||
435 | int ar_quota_quantum; /* The quota interval */ | ||
436 | int ar_statfs_percent; /* The % change to force sync */ | ||
433 | }; | 437 | }; |
434 | 438 | ||
435 | struct gfs2_tune { | 439 | struct gfs2_tune { |
@@ -447,7 +451,6 @@ struct gfs2_tune { | |||
447 | unsigned int gt_quota_quantum; /* Secs between syncs to quota file */ | 451 | unsigned int gt_quota_quantum; /* Secs between syncs to quota file */ |
448 | unsigned int gt_new_files_jdata; | 452 | unsigned int gt_new_files_jdata; |
449 | unsigned int gt_max_readahead; /* Max bytes to read-ahead from disk */ | 453 | unsigned int gt_max_readahead; /* Max bytes to read-ahead from disk */ |
450 | unsigned int gt_stall_secs; /* Detects trouble! */ | ||
451 | unsigned int gt_complain_secs; | 454 | unsigned int gt_complain_secs; |
452 | unsigned int gt_statfs_quantum; | 455 | unsigned int gt_statfs_quantum; |
453 | unsigned int gt_statfs_slow; | 456 | unsigned int gt_statfs_slow; |
@@ -540,6 +543,8 @@ struct gfs2_sbd { | |||
540 | struct gfs2_holder sd_live_gh; | 543 | struct gfs2_holder sd_live_gh; |
541 | struct gfs2_glock *sd_rename_gl; | 544 | struct gfs2_glock *sd_rename_gl; |
542 | struct gfs2_glock *sd_trans_gl; | 545 | struct gfs2_glock *sd_trans_gl; |
546 | wait_queue_head_t sd_glock_wait; | ||
547 | atomic_t sd_glock_disposal; | ||
543 | 548 | ||
544 | /* Inode Stuff */ | 549 | /* Inode Stuff */ |
545 | 550 | ||
@@ -558,6 +563,7 @@ struct gfs2_sbd { | |||
558 | spinlock_t sd_statfs_spin; | 563 | spinlock_t sd_statfs_spin; |
559 | struct gfs2_statfs_change_host sd_statfs_master; | 564 | struct gfs2_statfs_change_host sd_statfs_master; |
560 | struct gfs2_statfs_change_host sd_statfs_local; | 565 | struct gfs2_statfs_change_host sd_statfs_local; |
566 | int sd_statfs_force_sync; | ||
561 | 567 | ||
562 | /* Resource group stuff */ | 568 | /* Resource group stuff */ |
563 | 569 | ||
@@ -610,7 +616,7 @@ struct gfs2_sbd { | |||
610 | unsigned int sd_log_blks_reserved; | 616 | unsigned int sd_log_blks_reserved; |
611 | unsigned int sd_log_commited_buf; | 617 | unsigned int sd_log_commited_buf; |
612 | unsigned int sd_log_commited_databuf; | 618 | unsigned int sd_log_commited_databuf; |
613 | unsigned int sd_log_commited_revoke; | 619 | int sd_log_commited_revoke; |
614 | 620 | ||
615 | unsigned int sd_log_num_buf; | 621 | unsigned int sd_log_num_buf; |
616 | unsigned int sd_log_num_revoke; | 622 | unsigned int sd_log_num_revoke; |