Lines Matching defs:gfs2_sbd
563 struct gfs2_sbd { struct
564 struct super_block *sd_vfs;
565 struct kobject sd_kobj;
566 unsigned long sd_flags; /* SDF_... */
567 struct gfs2_sb_host sd_sb;
571 u32 sd_fsb2bb;
572 u32 sd_fsb2bb_shift;
573 u32 sd_diptrs; /* Number of pointers in a dinode */
574 u32 sd_inptrs; /* Number of pointers in a indirect block */
575 u32 sd_jbsize; /* Size of a journaled data block */
576 u32 sd_hash_bsize; /* sizeof(exhash block) */
577 u32 sd_hash_bsize_shift;
578 u32 sd_hash_ptrs; /* Number of pointers in a hash block */
579 u32 sd_qc_per_block;
580 u32 sd_max_dirres; /* Max blocks needed to add a directory entry */
581 u32 sd_max_height; /* Max height of a file's metadata tree */
582 u64 sd_heightsize[GFS2_MAX_META_HEIGHT + 1];
583 u32 sd_max_jheight; /* Max height of journaled file's meta tree */
584 u64 sd_jheightsize[GFS2_MAX_META_HEIGHT + 1];
586 struct gfs2_args sd_args; /* Mount arguments */
587 struct gfs2_tune sd_tune; /* Filesystem tuning structure */
591 struct lm_lockstruct sd_lockstruct;
592 struct gfs2_holder sd_live_gh;
593 struct gfs2_glock *sd_rename_gl;
594 struct gfs2_glock *sd_trans_gl;
595 wait_queue_head_t sd_glock_wait;
596 atomic_t sd_glock_disposal;
597 struct completion sd_locking_init;
598 struct delayed_work sd_control_work;
602 struct dentry *sd_master_dir;
603 struct dentry *sd_root_dir;
605 struct inode *sd_jindex;
606 struct inode *sd_statfs_inode;
607 struct inode *sd_sc_inode;
608 struct inode *sd_qc_inode;
609 struct inode *sd_rindex;
610 struct inode *sd_quota_inode;
614 spinlock_t sd_statfs_spin;
615 struct gfs2_statfs_change_host sd_statfs_master;
616 struct gfs2_statfs_change_host sd_statfs_local;
617 int sd_statfs_force_sync;
621 int sd_rindex_uptodate;
622 spinlock_t sd_rindex_spin;
623 struct mutex sd_rindex_mutex;
624 struct rb_root sd_rindex_tree;
625 unsigned int sd_rgrps;
626 unsigned int sd_max_rg_data;
630 struct list_head sd_jindex_list;
631 spinlock_t sd_jindex_spin;
632 struct mutex sd_jindex_mutex;
633 unsigned int sd_journals;
635 struct gfs2_jdesc *sd_jdesc;
636 struct gfs2_holder sd_journal_gh;
637 struct gfs2_holder sd_jinode_gh;
639 struct gfs2_holder sd_sc_gh;
640 struct gfs2_holder sd_qc_gh;
644 struct task_struct *sd_logd_process;
645 struct task_struct *sd_quotad_process;
649 struct list_head sd_quota_list;
650 atomic_t sd_quota_count;
651 struct mutex sd_quota_mutex;
652 wait_queue_head_t sd_quota_wait;
653 struct list_head sd_trunc_list;
654 spinlock_t sd_trunc_lock;
656 unsigned int sd_quota_slots;
657 unsigned int sd_quota_chunks;
658 unsigned char **sd_quota_bitmap;
660 u64 sd_quota_sync_gen;
664 spinlock_t sd_log_lock;
666 unsigned int sd_log_blks_reserved;
667 unsigned int sd_log_commited_buf;
668 unsigned int sd_log_commited_databuf;
669 int sd_log_commited_revoke;
671 atomic_t sd_log_pinned;
672 unsigned int sd_log_num_buf;
673 unsigned int sd_log_num_revoke;
674 unsigned int sd_log_num_rg;
675 unsigned int sd_log_num_databuf;
677 struct list_head sd_log_le_buf;
678 struct list_head sd_log_le_revoke;
679 struct list_head sd_log_le_rg;
680 struct list_head sd_log_le_databuf;
681 struct list_head sd_log_le_ordered;
683 atomic_t sd_log_thresh1;
684 atomic_t sd_log_thresh2;
685 atomic_t sd_log_blks_free;
686 wait_queue_head_t sd_log_waitq;
687 wait_queue_head_t sd_logd_waitq;
689 u64 sd_log_sequence;
690 unsigned int sd_log_head;
691 unsigned int sd_log_tail;
692 int sd_log_idle;
694 struct rw_semaphore sd_log_flush_lock;
695 atomic_t sd_log_in_flight;
696 wait_queue_head_t sd_log_flush_wait;
698 unsigned int sd_log_flush_head;
699 u64 sd_log_flush_wrapped;
701 spinlock_t sd_ail_lock;
702 struct list_head sd_ail1_list;
703 struct list_head sd_ail2_list;
707 struct list_head sd_revoke_list;
708 unsigned int sd_replay_tail;
710 unsigned int sd_found_blocks;
711 unsigned int sd_found_revokes;
712 unsigned int sd_replayed_blocks;
716 struct gfs2_holder sd_freeze_gh;
717 struct mutex sd_freeze_lock;
718 unsigned int sd_freeze_count;
720 char sd_fsname[GFS2_FSNAME_LEN];
721 char sd_table_name[GFS2_FSNAME_LEN];
722 char sd_proto_name[GFS2_FSNAME_LEN];
726 unsigned long sd_last_warning;
727 struct dentry *debugfs_dir; /* debugfs directory */
728 struct dentry *debugfs_dentry_glocks; /* for debugfs */