bcache: configure the asynchronous registertion to be experimental
[sfrench/cifs-2.6.git] / drivers / md / bcache / Kconfig
index 6dfa653d30db7d2b3c21cf048a7e3ab2b6bb4a27..bf7dd96db9b39c832127292cbbe082c1319315a4 100644 (file)
@@ -26,3 +26,12 @@ config BCACHE_CLOSURES_DEBUG
        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_REGISTRAION
+       bool "Asynchronous device registration (EXPERIMENTAL)"
+       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.