bcache.h (b1092c9af9ed88dd2fc8345d987dfb7efe7be8f0) | bcache.h (2831231d4c3f999d2d062b23dfbc8b0faa4bc6e0) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHE_H 3#define _BCACHE_H 4 5/* 6 * SOME HIGH LEVEL CODE DOCUMENTATION: 7 * 8 * Bcache mostly works with cache sets, cache devices, and backing devices. --- 483 unchanged lines hidden (view full) --- 492 493 struct cache_sb sb; 494 495 struct cache *cache[MAX_CACHES_PER_SET]; 496 struct cache *cache_by_alloc[MAX_CACHES_PER_SET]; 497 int caches_loaded; 498 499 struct bcache_device **devices; | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _BCACHE_H 3#define _BCACHE_H 4 5/* 6 * SOME HIGH LEVEL CODE DOCUMENTATION: 7 * 8 * Bcache mostly works with cache sets, cache devices, and backing devices. --- 483 unchanged lines hidden (view full) --- 492 493 struct cache_sb sb; 494 495 struct cache *cache[MAX_CACHES_PER_SET]; 496 struct cache *cache_by_alloc[MAX_CACHES_PER_SET]; 497 int caches_loaded; 498 499 struct bcache_device **devices; |
500 unsigned devices_max_used; |
|
500 struct list_head cached_devs; 501 uint64_t cached_dev_sectors; 502 struct closure caching; 503 504 struct closure sb_write; 505 struct semaphore sb_write_mutex; 506 507 mempool_t *search; --- 434 unchanged lines hidden --- | 501 struct list_head cached_devs; 502 uint64_t cached_dev_sectors; 503 struct closure caching; 504 505 struct closure sb_write; 506 struct semaphore sb_write_mutex; 507 508 mempool_t *search; --- 434 unchanged lines hidden --- |