mark pstore-blk as broken
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Jun 2021 16:13:27 +0000 (18:13 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 14 Jun 2021 14:26:03 +0000 (08:26 -0600)
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 <hch@lst.de>
Link: https://lore.kernel.org/r/20210608161327.1537919-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/pstore/Kconfig

index 8adabde..328da35 100644 (file)
@@ -173,6 +173,7 @@ config PSTORE_BLK
        tristate "Log panic/oops to a block device"
        depends on PSTORE
        depends on BLOCK
+       depends on BROKEN
        select PSTORE_ZONE
        default n
        help