Lines Matching defs:cache_set

502 struct cache_set {  struct
503 struct closure cl;
505 struct list_head list;
506 struct kobject kobj;
507 struct kobject internal;
508 struct dentry *debug;
509 struct cache_accounting accounting;
511 unsigned long flags;
512 atomic_t idle_counter;
513 atomic_t at_max_writeback_rate;
515 struct cache_sb sb;
517 struct cache *cache[MAX_CACHES_PER_SET];
518 struct cache *cache_by_alloc[MAX_CACHES_PER_SET];
519 int caches_loaded;
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;
596 atomic_t prio_blocked;
597 wait_queue_head_t bucket_wait;
603 atomic_t rescale;
607 atomic_t search_inflight;
614 uint16_t min_prio;
620 uint8_t need_gc;
621 struct gc_stat gc_stats;
622 size_t nbuckets;
623 size_t avail_nbuckets;
625 struct task_struct *gc_thread;
627 struct bkey gc_done;
633 int gc_mark_valid;
636 atomic_t sectors_to_gc;
637 wait_queue_head_t gc_wait;
639 struct keybuf moving_gc_keys;
641 struct semaphore moving_in_flight;
643 struct workqueue_struct *moving_gc_wq;
645 struct btree *root;
648 struct btree *verify_data;
649 struct bset *verify_ondisk;
650 struct mutex verify_lock;
653 unsigned int nr_uuids;
654 struct uuid_entry *uuids;
656 struct closure uuid_write;
657 struct semaphore uuid_write_mutex;
663 mempool_t fill_iter;
665 struct bset_sort_state sort;
668 struct list_head data_buckets;
669 spinlock_t data_bucket_lock;
671 struct journal journal;
674 unsigned int congested_last_us;
675 atomic_t congested;
678 unsigned int congested_read_threshold_us;
679 unsigned int congested_write_threshold_us;
681 struct time_stats btree_gc_time;
682 struct time_stats btree_split_time;
683 struct time_stats btree_read_time;
685 atomic_long_t cache_read_races;
686 atomic_long_t writeback_keys_done;
687 atomic_long_t writeback_keys_failed;
689 atomic_long_t reclaim;
690 atomic_long_t flush_write;
691 atomic_long_t retry_flush_write;
693 enum {
696 } on_error;
698 unsigned int error_limit;
699 unsigned int error_decay;
701 unsigned short journal_delay_ms;
702 bool expensive_debug_checks;
703 unsigned int verify:1;
704 unsigned int key_merging_disabled:1;
705 unsigned int gc_always_rewrite:1;
706 unsigned int shrinker_disabled:1;
707 unsigned int copy_gc_enabled:1;
710 struct hlist_head bucket_hash[1 << BUCKET_HASH_BITS];