2018-08-27 14:32:32 +00:00
|
|
|
|
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
|
Date: Thu, 29 Aug 2013 11:48:57 +0200
|
|
|
|
|
Subject: md: disable bcache
|
2019-02-27 18:51:46 +00:00
|
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.25-rt16.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
|
|
It uses anon semaphores
|
|
|
|
|
|drivers/md/bcache/request.c: In function ‘cached_dev_write_complete’:
|
|
|
|
|
|drivers/md/bcache/request.c:1007:2: error: implicit declaration of function ‘up_read_non_owner’ [-Werror=implicit-function-declaration]
|
|
|
|
|
| up_read_non_owner(&dc->writeback_lock);
|
|
|
|
|
| ^
|
|
|
|
|
|drivers/md/bcache/request.c: In function ‘request_write’:
|
|
|
|
|
|drivers/md/bcache/request.c:1033:2: error: implicit declaration of function ‘down_read_non_owner’ [-Werror=implicit-function-declaration]
|
|
|
|
|
| down_read_non_owner(&dc->writeback_lock);
|
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
|
either we get rid of those or we have to introduce them…
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
|
---
|
|
|
|
|
drivers/md/bcache/Kconfig | 1 +
|
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
|
|
--- a/drivers/md/bcache/Kconfig
|
|
|
|
|
+++ b/drivers/md/bcache/Kconfig
|
|
|
|
|
@@ -1,6 +1,7 @@
|
|
|
|
|
|
|
|
|
|
config BCACHE
|
|
|
|
|
tristate "Block device as cache"
|
|
|
|
|
+ depends on !PREEMPT_RT_FULL
|
2018-10-30 12:40:05 +00:00
|
|
|
|
select CRC64
|
|
|
|
|
help
|
2018-08-27 14:32:32 +00:00
|
|
|
|
Allows a block device to be used as cache for other devices; uses
|