Skip to content

Commit

Permalink
dm: make EBS depend on !HIGHMEM
Browse files Browse the repository at this point in the history
__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>
  • Loading branch information
Christoph Hellwig authored and Jens Axboe committed Aug 16, 2021
1 parent b93ef45 commit 1c277e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c277e5

Please sign in to comment.