Lines Matching defs:cache_set

488 struct cache_set {  struct
489 struct closure cl;
491 struct list_head list;
492 struct kobject kobj;
493 struct kobject internal;
494 struct dentry *debug;
495 struct cache_accounting accounting;
497 unsigned long flags;
499 struct cache_sb sb;
501 struct cache *cache[MAX_CACHES_PER_SET];
502 struct cache *cache_by_alloc[MAX_CACHES_PER_SET];
503 int caches_loaded;
505 struct bcache_device **devices;
506 struct list_head cached_devs;
507 uint64_t cached_dev_sectors;
508 struct closure caching;
510 struct closure sb_write;
511 struct semaphore sb_write_mutex;
513 mempool_t *search;
514 mempool_t *bio_meta;
515 struct bio_set *bio_split;
518 struct shrinker shrink;
521 struct mutex bucket_lock;
524 unsigned short bucket_bits;
527 unsigned short block_bits;
533 unsigned btree_pages;
551 struct list_head btree_cache;
552 struct list_head btree_cache_freeable;
553 struct list_head btree_cache_freed;
556 unsigned btree_cache_used;
564 wait_queue_head_t btree_cache_wait;
565 struct task_struct *btree_cache_alloc_lock;
577 atomic_t prio_blocked;
578 wait_queue_head_t bucket_wait;
584 atomic_t rescale;
591 uint16_t min_prio;
597 uint8_t need_gc;
598 struct gc_stat gc_stats;
599 size_t nbuckets;
601 struct task_struct *gc_thread;
603 struct bkey gc_done;
609 int gc_mark_valid;
612 atomic_t sectors_to_gc;
614 wait_queue_head_t moving_gc_wait;
615 struct keybuf moving_gc_keys;
617 struct semaphore moving_in_flight;
619 struct workqueue_struct *moving_gc_wq;
621 struct btree *root;
624 struct btree *verify_data;
625 struct bset *verify_ondisk;
626 struct mutex verify_lock;
629 unsigned nr_uuids;
630 struct uuid_entry *uuids;
632 struct closure uuid_write;
633 struct semaphore uuid_write_mutex;
639 mempool_t *fill_iter;
641 struct bset_sort_state sort;
644 struct list_head data_buckets;
645 spinlock_t data_bucket_lock;
647 struct journal journal;
650 unsigned congested_last_us;
651 atomic_t congested;
654 unsigned congested_read_threshold_us;
655 unsigned congested_write_threshold_us;
657 struct time_stats btree_gc_time;
658 struct time_stats btree_split_time;
659 struct time_stats btree_read_time;
661 atomic_long_t cache_read_races;
662 atomic_long_t writeback_keys_done;
663 atomic_long_t writeback_keys_failed;
665 enum {
668 } on_error;
669 unsigned error_limit;
670 unsigned error_decay;
672 unsigned short journal_delay_ms;
673 bool expensive_debug_checks;
674 unsigned verify:1;
675 unsigned key_merging_disabled:1;
676 unsigned gc_always_rewrite:1;
677 unsigned shrinker_disabled:1;
678 unsigned copy_gc_enabled:1;
681 struct hlist_head bucket_hash[1 << BUCKET_HASH_BITS];