dm: make EBS depend on !HIGHMEM
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Aug 2021 09:56:22 +0000 (11:56 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Aug 2021 16:50:32 +0000 (10:50 -0600)
__ebs_rw_bvec use page_address on the submitted bios data, and thus
can't deal with highmem.  Disable the target on highmem configs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210804095634.460779-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/Kconfig

index f821dae101a905fc306f78ca4f1bfcb486bf92ac..f45fb372e51be1764fd172158af1fb291a9ca5a3 100644 (file)
@@ -342,7 +342,7 @@ config DM_WRITECACHE
 
 config DM_EBS
        tristate "Emulated block size target (EXPERIMENTAL)"
-       depends on BLK_DEV_DM
+       depends on BLK_DEV_DM && !HIGHMEM
        select DM_BUFIO
        help
          dm-ebs emulates smaller logical block size on backing devices