Lines Matching defs:bch_dev
517 struct bch_dev { struct
518 struct kobject kobj;
520 atomic_long_t ref;
521 bool dying;
522 unsigned long last_put;
524 struct percpu_ref ref;
526 struct completion ref_completion;
550 struct bch_devs_mask self; argument
565 struct bch_dev_usage_full __percpu argument
566 *usage;
569 u64 alloc_cursor[3];
571 unsigned nr_open_buckets;
572 unsigned nr_partial_buckets;
573 unsigned nr_btree_reserve;
575 size_t inc_gen_needs_gc;
576 size_t inc_gen_really_needs_gc;
577 size_t buckets_waiting_on_journal;
579 struct work_struct invalidate_work;
580 struct work_struct discard_work;
581 struct mutex discard_buckets_in_flight_lock;
583 struct work_struct discard_fast_work;
585 atomic64_t rebalance_work;
587 struct journal_device journal;
588 u64 prev_journal_sector;
590 struct work_struct io_error_work;
593 atomic64_t cur_latency[2];
594 struct bch2_time_stats_quantiles io_latency[2];
597 atomic_t congested;
598 u64 congested_last;
600 struct io_count __percpu *io_done;