bcache.h (2612e3bbc0386368a850140a6c9b990cd496a5ec) | bcache.h (09bdafb89a56a267c070fdb96d385934c14d2735) |
---|---|
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. --- 251 unchanged lines hidden (view full) --- 260 261 unsigned long flags; 262#define BCACHE_DEV_CLOSING 0 263#define BCACHE_DEV_DETACHING 1 264#define BCACHE_DEV_UNLINK_DONE 2 265#define BCACHE_DEV_WB_RUNNING 3 266#define BCACHE_DEV_RATE_DW_RUNNING 4 267 int nr_stripes; | 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. --- 251 unchanged lines hidden (view full) --- 260 261 unsigned long flags; 262#define BCACHE_DEV_CLOSING 0 263#define BCACHE_DEV_DETACHING 1 264#define BCACHE_DEV_UNLINK_DONE 2 265#define BCACHE_DEV_WB_RUNNING 3 266#define BCACHE_DEV_RATE_DW_RUNNING 4 267 int nr_stripes; |
268#define BCH_MIN_STRIPE_SZ ((4 << 20) >> SECTOR_SHIFT) |
|
268 unsigned int stripe_size; 269 atomic_t *stripe_sectors_dirty; 270 unsigned long *full_dirty_stripes; 271 272 struct bio_set bio_split; 273 274 unsigned int data_csum:1; 275 --- 773 unchanged lines hidden --- | 269 unsigned int stripe_size; 270 atomic_t *stripe_sectors_dirty; 271 unsigned long *full_dirty_stripes; 272 273 struct bio_set bio_split; 274 275 unsigned int data_csum:1; 276 --- 773 unchanged lines hidden --- |