]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
brd: remove dax support
authorDan Williams <dan.j.williams@intel.com>
Mon, 23 Oct 2017 17:24:45 +0000 (10:24 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 15 Nov 2017 00:49:06 +0000 (16:49 -0800)
commit7a862fbbdec665190c5ef298c0c6ec9f3915cf45
tree78f3f86aa6545576fbcfb4188169f484865b0fed
parent66a86cc10945648cf506ef314b98deeb7af06419
brd: remove dax support

DAX support in brd is awkward because its backing page frames are
distinct from the ones provided by pmem, dcssblk, or axonram. We need
pfn_t_devmap() entries to fully support DAX, and the limited DAX support
for pfn_t_special() page frames is not interesting for brd when pmem is
already a superset of brd.  Lastly, brd is the only dax capable driver
that may sleep in its ->direct_access() implementation. So it causes a
global burden with no net gain of kernel functionality.

For all these reasons, remove DAX support.

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/block/Kconfig
drivers/block/brd.c