Lines Matching defs:gfs2_sbd
662 struct gfs2_sbd { struct
663 struct super_block *sd_vfs;
664 struct gfs2_pcpu_lkstats __percpu *sd_lkstats;
665 struct kobject sd_kobj;
666 unsigned long sd_flags; /* SDF_... */
667 struct gfs2_sb_host sd_sb;
671 u32 sd_fsb2bb;
672 u32 sd_fsb2bb_shift;
673 u32 sd_diptrs; /* Number of pointers in a dinode */
674 u32 sd_inptrs; /* Number of pointers in a indirect block */
675 u32 sd_jbsize; /* Size of a journaled data block */
676 u32 sd_hash_bsize; /* sizeof(exhash block) */
677 u32 sd_hash_bsize_shift;
678 u32 sd_hash_ptrs; /* Number of pointers in a hash block */
679 u32 sd_qc_per_block;
680 u32 sd_blocks_per_bitmap;
681 u32 sd_max_dirres; /* Max blocks needed to add a directory entry */
682 u32 sd_max_height; /* Max height of a file's metadata tree */
683 u64 sd_heightsize[GFS2_MAX_META_HEIGHT + 1];
684 u32 sd_max_jheight; /* Max height of journaled file's meta tree */
685 u64 sd_jheightsize[GFS2_MAX_META_HEIGHT + 1];
687 struct gfs2_args sd_args; /* Mount arguments */
688 struct gfs2_tune sd_tune; /* Filesystem tuning structure */
692 struct lm_lockstruct sd_lockstruct;
693 struct gfs2_holder sd_live_gh;
694 struct gfs2_glock *sd_rename_gl;
695 struct gfs2_glock *sd_freeze_gl;
696 struct work_struct sd_freeze_work;
697 wait_queue_head_t sd_glock_wait;
698 atomic_t sd_glock_disposal;
699 struct completion sd_locking_init;
700 struct completion sd_wdack;
701 struct delayed_work sd_control_work;
705 struct dentry *sd_master_dir;
706 struct dentry *sd_root_dir;
708 struct inode *sd_jindex;
709 struct inode *sd_statfs_inode;
710 struct inode *sd_sc_inode;
711 struct inode *sd_qc_inode;
712 struct inode *sd_rindex;
713 struct inode *sd_quota_inode;
717 spinlock_t sd_statfs_spin;
718 struct gfs2_statfs_change_host sd_statfs_master;
719 struct gfs2_statfs_change_host sd_statfs_local;
720 int sd_statfs_force_sync;
724 int sd_rindex_uptodate;
725 spinlock_t sd_rindex_spin;
726 struct rb_root sd_rindex_tree;
727 unsigned int sd_rgrps;
728 unsigned int sd_max_rg_data;
732 struct list_head sd_jindex_list;
733 spinlock_t sd_jindex_spin;
734 struct mutex sd_jindex_mutex;
735 unsigned int sd_journals;
737 struct gfs2_jdesc *sd_jdesc;
738 struct gfs2_holder sd_journal_gh;
739 struct gfs2_holder sd_jinode_gh;
741 struct gfs2_holder sd_sc_gh;
742 struct gfs2_holder sd_qc_gh;
744 struct completion sd_journal_ready;
748 struct task_struct *sd_logd_process;
749 struct task_struct *sd_quotad_process;
753 struct list_head sd_quota_list;
754 atomic_t sd_quota_count;
755 struct mutex sd_quota_mutex;
756 struct mutex sd_quota_sync_mutex;
757 wait_queue_head_t sd_quota_wait;
758 struct list_head sd_trunc_list;
759 spinlock_t sd_trunc_lock;
761 unsigned int sd_quota_slots;
762 unsigned long *sd_quota_bitmap;
763 spinlock_t sd_bitmap_lock;
765 u64 sd_quota_sync_gen;
769 struct address_space sd_aspace;
771 spinlock_t sd_log_lock;
773 struct gfs2_trans *sd_log_tr;
774 unsigned int sd_log_blks_reserved;
775 int sd_log_commited_revoke;
777 atomic_t sd_log_pinned;
778 unsigned int sd_log_num_revoke;
780 struct list_head sd_log_le_revoke;
781 struct list_head sd_log_le_ordered;
782 spinlock_t sd_ordered_lock;
784 atomic_t sd_log_thresh1;
785 atomic_t sd_log_thresh2;
786 atomic_t sd_log_blks_free;
787 wait_queue_head_t sd_log_waitq;
788 wait_queue_head_t sd_logd_waitq;
790 u64 sd_log_sequence;
791 unsigned int sd_log_head;
792 unsigned int sd_log_tail;
793 int sd_log_idle;
795 struct rw_semaphore sd_log_flush_lock;
796 atomic_t sd_log_in_flight;
797 struct bio *sd_log_bio;
798 wait_queue_head_t sd_log_flush_wait;
799 int sd_log_error;
801 atomic_t sd_reserving_log;
802 wait_queue_head_t sd_reserving_log_wait;
804 unsigned int sd_log_flush_head;
805 u64 sd_log_flush_wrapped;
807 spinlock_t sd_ail_lock;
808 struct list_head sd_ail1_list;
809 struct list_head sd_ail2_list;
812 struct gfs2_holder sd_freeze_gh;
836 const struct gfs2_sbd *sdp = gl->gl_sbd; in gfs2_sbstats_inc() argument