在 2021/10/12 9:59, roger 写道:
From: Christoph Hellwig
stable inclusion from stable-5.10 category: feature commit:0317b728d8aee5cb065b5fbe9f99c97954bf2b4a issue: #I4919J
--------------------------------
[ Upstream commit d07f3b081ee632268786601f55e1334d1f68b997 ]
pstore-blk just pokes directly into the pagecache for the block device without going through the file operations for that by faking up it's own file operations that do not match the block device ones.
As this breaks the control of the block layer of it's page cache, and even now just works by accident only the best thing is to just disable this driver.
Fixes: 17639f67c1d6 ("pstore/blk: Introduce backend for block devices") Signed-off-by: Christoph Hellwig
Link: https://lore.kernel.org/r/20210608161327.1537919-1-hch@lst.de Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin (cherry picked from commit 0317b728d8aee5cb065b5fbe9f99c97954bf2b4a) Signed-off-by: roger --- fs/pstore/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/pstore/Kconfig b/fs/pstore/Kconfig index e0ac6601a928..eae480dcd4b7 100644 --- a/fs/pstore/Kconfig +++ b/fs/pstore/Kconfig @@ -173,6 +173,7 @@ config PSTORE_BLK tristate "Log panic/oops to a block device" depends on PSTORE depends on BLOCK + depends on BROKEN
既然由于存在会破坏块层的pagecache等问题,pstore_blk还是broken状态,且主线也没使能,那暂时*没必要*使用pstore_blk。 Thanks.
select PSTORE_ZONE default n help