Lines Matching defs:cache_set

506 struct cache_set {  struct
507 struct closure cl;
509 struct list_head list;
510 struct kobject kobj;
511 struct kobject internal;
512 struct dentry *debug;
513 struct cache_accounting accounting;
515 unsigned long flags;
516 atomic_t idle_counter;
517 atomic_t at_max_writeback_rate;
519 struct cache *cache;
521 struct bcache_device **devices;
522 unsigned int devices_max_used;
523 atomic_t attached_dev_nr;
524 struct list_head cached_devs;
525 uint64_t cached_dev_sectors;
526 atomic_long_t flash_dev_dirty_sectors;
527 struct closure caching;
529 struct closure sb_write;
530 struct semaphore sb_write_mutex;
532 mempool_t search;
533 mempool_t bio_meta;
534 struct bio_set bio_split;
537 struct shrinker shrink;
540 struct mutex bucket_lock;
543 unsigned short bucket_bits;
546 unsigned short block_bits;
552 unsigned int btree_pages;
570 struct list_head btree_cache;
571 struct list_head btree_cache_freeable;
572 struct list_head btree_cache_freed;
575 unsigned int btree_cache_used;
583 wait_queue_head_t btree_cache_wait;
584 struct task_struct *btree_cache_alloc_lock;
585 spinlock_t btree_cannibalize_lock;
597 atomic_t prio_blocked;
598 wait_queue_head_t bucket_wait;
604 atomic_t rescale;
608 atomic_t search_inflight;
615 uint16_t min_prio;
621 uint8_t need_gc;
622 struct gc_stat gc_stats;
623 size_t nbuckets;
624 size_t avail_nbuckets;
626 struct task_struct *gc_thread;
628 struct bkey gc_done;
642 uint8_t gc_after_writeback;
648 int gc_mark_valid;
651 atomic_t sectors_to_gc;
652 wait_queue_head_t gc_wait;
654 struct keybuf moving_gc_keys;
678 * bch_cache_set_alloc() will make sure the pool can allocate iterators argument
683 mempool_t fill_iter;
685 struct bset_sort_state sort;
688 struct list_head data_buckets;
689 spinlock_t data_bucket_lock;
691 struct journal journal;
694 unsigned int congested_last_us;
695 atomic_t congested;
698 unsigned int congested_read_threshold_us;
699 unsigned int congested_write_threshold_us;
701 struct time_stats btree_gc_time;
702 struct time_stats btree_split_time;
703 struct time_stats btree_read_time;
705 atomic_long_t cache_read_races;
706 atomic_long_t writeback_keys_done;
707 atomic_long_t writeback_keys_failed;
709 atomic_long_t reclaim;
710 atomic_long_t reclaimed_journal_buckets;
711 atomic_long_t flush_write;
713 enum {
716 } on_error;
718 unsigned int error_limit;
719 unsigned int error_decay;
721 unsigned short journal_delay_ms;
722 bool expensive_debug_checks;
723 unsigned int verify:1;
724 unsigned int key_merging_disabled:1;
725 unsigned int gc_always_rewrite:1;
726 unsigned int shrinker_disabled:1;
727 unsigned int copy_gc_enabled:1;
728 unsigned int idle_max_writeback_rate_enabled:1;
731 struct hlist_head bucket_hash[1 << BUCKET_HASH_BITS];