linux/debian/patches-rt/0055-md-disable-bcache.patch

45 lines
1.7 KiB
Diff
Raw Normal View History

2020-10-12 12:52:06 +00:00
From 179303a9c436686b3229b062198ea9e188b1d2ec Mon Sep 17 00:00:00 2001
Message-Id: <179303a9c436686b3229b062198ea9e188b1d2ec.1601675151.git.zanussi@kernel.org>
In-Reply-To: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
References: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Thu, 29 Aug 2013 11:48:57 +0200
2020-09-04 20:10:21 +00:00
Subject: [PATCH 055/333] md: disable bcache
2019-04-08 23:49:20 +00:00
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
2020-10-12 12:52:06 +00:00
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.148-rt64.tar.xz
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>
---
2019-04-08 23:49:20 +00:00
drivers/md/bcache/Kconfig | 1 +
1 file changed, 1 insertion(+)
2019-04-08 23:49:20 +00:00
diff --git a/drivers/md/bcache/Kconfig b/drivers/md/bcache/Kconfig
index f6e0a8b3a61e..18c03d79a442 100644
--- 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
Allows a block device to be used as cache for other devices; uses
2020-01-03 23:36:11 +00:00
--
2020-06-22 13:14:16 +00:00
2.17.1
2020-01-03 23:36:11 +00:00