]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: configure the asynchronous registertion to be experimental
authorColy Li <colyli@suse.de>
Wed, 27 May 2020 04:01:55 +0000 (12:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 May 2020 11:19:36 +0000 (05:19 -0600)
commit8a71043c45ae1997ed078d8287bfb6ae0ded4140
tree447428c4f4da0625f557cd9c1ad4f97c84b38f95
parent4b0ad973049d2f63b1949c67f837d57ace4470f6
bcache: configure the asynchronous registertion to be experimental

In order to avoid the experimental async registration interface to
be treated as new kernel ABI for common users, this patch makes it
as an experimental kernel configure BCACHE_ASYNC_REGISTRAION.

This interface is for extreme large cached data situation, to make sure
the bcache device can always created without the udev timeout issue. For
normal users the async or sync registration does not make difference.

In future when we decide to use the asynchronous registration as default
behavior, this experimental interface may be removed.

Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/Kconfig
drivers/md/bcache/super.c