Lines Matching defs:cache_set

513 struct cache_set {  struct
514 struct closure cl;
516 struct list_head list;
517 struct kobject kobj;
518 struct kobject internal;
519 struct dentry *debug;
520 struct cache_accounting accounting;
522 unsigned long flags;
523 atomic_t idle_counter;
524 atomic_t at_max_writeback_rate;
526 struct cache *cache;
528 struct bcache_device **devices;
529 unsigned int devices_max_used;
530 atomic_t attached_dev_nr;
531 struct list_head cached_devs;
532 uint64_t cached_dev_sectors;
533 atomic_long_t flash_dev_dirty_sectors;
534 struct closure caching;
536 struct closure sb_write;
537 struct semaphore sb_write_mutex;
539 mempool_t search;
540 mempool_t bio_meta;
541 struct bio_set bio_split;
544 struct shrinker shrink;
547 struct mutex bucket_lock;
550 unsigned short bucket_bits;
553 unsigned short block_bits;
559 unsigned int btree_pages;
577 struct list_head btree_cache;
578 struct list_head btree_cache_freeable;
579 struct list_head btree_cache_freed;
582 unsigned int btree_cache_used;
590 wait_queue_head_t btree_cache_wait;
591 struct task_struct *btree_cache_alloc_lock;
592 spinlock_t btree_cannibalize_lock;
604 atomic_t prio_blocked;
605 wait_queue_head_t bucket_wait;
611 atomic_t rescale;
615 atomic_t search_inflight;
622 uint16_t min_prio;
628 uint8_t need_gc;
629 struct gc_stat gc_stats;
630 size_t nbuckets;
631 size_t avail_nbuckets;
633 struct task_struct *gc_thread;
635 struct bkey gc_done;
649 uint8_t gc_after_writeback;
655 int gc_mark_valid;
658 atomic_t sectors_to_gc;
659 wait_queue_head_t gc_wait;
661 struct keybuf moving_gc_keys;
685 * bch_cache_set_alloc() will make sure the pool can allocate iterators argument
690 mempool_t fill_iter;
692 struct bset_sort_state sort;
695 struct list_head data_buckets;
696 spinlock_t data_bucket_lock;
698 struct journal journal;
701 unsigned int congested_last_us;
702 atomic_t congested;
705 unsigned int congested_read_threshold_us;
706 unsigned int congested_write_threshold_us;
708 struct time_stats btree_gc_time;
709 struct time_stats btree_split_time;
710 struct time_stats btree_read_time;
712 atomic_long_t cache_read_races;
713 atomic_long_t writeback_keys_done;
714 atomic_long_t writeback_keys_failed;
716 atomic_long_t reclaim;
717 atomic_long_t reclaimed_journal_buckets;
718 atomic_long_t flush_write;
720 enum {
723 } on_error;
725 unsigned int error_limit;
726 unsigned int error_decay;
728 unsigned short journal_delay_ms;
729 bool expensive_debug_checks;
730 unsigned int verify:1;
731 unsigned int key_merging_disabled:1;
732 unsigned int gc_always_rewrite:1;
733 unsigned int shrinker_disabled:1;
734 unsigned int copy_gc_enabled:1;
735 unsigned int idle_max_writeback_rate_enabled:1;
738 struct hlist_head bucket_hash[1 << BUCKET_HASH_BITS];