Directory Files
.. 160
File Size
Kconfig 1.1 kB
Makefile 236 B
alloc.c 19 kB
bcache.h 33 kB
bcache.mod.c 0 B
bcache_ondisk.h 10 kB
bset.c 34 kB
bset.h 20 kB
btree.c 66 kB
btree.h 14 kB
closure.c 4.6 kB
closure.h 12 kB
debug.c 5.7 kB
debug.h 886 B
extents.c 15 kB
extents.h 482 B
features.c 1.9 kB
features.h 3.5 kB
io.c 4.3 kB
journal.c 24 kB
journal.h 6.6 kB
movinggc.c 5.5 kB
request.c 35 kB
request.h 1.0 kB
stats.c 6.4 kB
stats.h 1.5 kB
super.c 73 kB
sysfs.c 31 kB
sysfs.h 3.9 kB
trace.c 1.8 kB
util.c 6.6 kB
util.h 15 kB
writeback.c 29 kB
writeback.h 3.9 kB

Linux v6.6.1 - bcache

# SPDX-License-Identifier: GPL-2.0-only

config BCACHE
	tristate "Block device as cache"
	select BLOCK_HOLDER_DEPRECATED if SYSFS
	select CRC64
	help
	Allows a block device to be used as cache for other devices; uses
	a btree for indexing and the layout is optimized for SSDs.

	See Documentation/admin-guide/bcache.rst for details.

config BCACHE_DEBUG
	bool "Bcache debugging"
	depends on BCACHE
	help
	Don't select this option unless you're a developer

	Enables extra debugging tools, allows expensive runtime checks to be
	turned on.

config BCACHE_CLOSURES_DEBUG
	bool "Debug closures"
	depends on BCACHE
	select DEBUG_FS
	help
	Keeps all active closures in a linked list and provides a debugfs
	interface to list them, which makes it possible to see asynchronous
	operations that get stuck.

config BCACHE_ASYNC_REGISTRATION
	bool "Asynchronous device registration"
	depends on BCACHE
	help
	Add a sysfs file /sys/fs/bcache/register_async. Writing registering
	device path into this file will returns immediately and the real
	registration work is handled in kernel work queue in asynchronous
	way.