.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | |
---|
2 | 3 | config BCACHE |
---|
3 | 4 | tristate "Block device as cache" |
---|
4 | | - depends on !PREEMPT_RT_FULL |
---|
5 | 5 | select CRC64 |
---|
6 | 6 | help |
---|
7 | 7 | Allows a block device to be used as cache for other devices; uses |
---|
.. | .. |
---|
26 | 26 | Keeps all active closures in a linked list and provides a debugfs |
---|
27 | 27 | interface to list them, which makes it possible to see asynchronous |
---|
28 | 28 | operations that get stuck. |
---|
| 29 | + |
---|
| 30 | +config BCACHE_ASYNC_REGISTRATION |
---|
| 31 | + bool "Asynchronous device registration (EXPERIMENTAL)" |
---|
| 32 | + depends on BCACHE |
---|
| 33 | + help |
---|
| 34 | + Add a sysfs file /sys/fs/bcache/register_async. Writing registering |
---|
| 35 | + device path into this file will returns immediately and the real |
---|
| 36 | + registration work is handled in kernel work queue in asynchronous |
---|
| 37 | + way. |
---|