-
- Downloads
block, dax: move "select DAX" from BLOCK to FS_DAX
For configurations that do not enable DAX filesystems or drivers, do not require the DAX core to be built. Given that the 'direct_access' method has been removed from 'block_device_operations', we can also go ahead and remove the block-related dax helper functions from fs/block_dev.c to drivers/dax/super.c. This keeps dax details out of the block layer and lets the DAX core be built as a module in the FS_DAX=n case. Filesystems need to include dax.h to call bdev_dax_supported(). Cc: linux-xfs@vger.kernel.org Cc: Jens Axboe <axboe@kernel.dk> Cc: "Theodore Ts'o" <tytso@mit.edu> Cc: Matthew Wilcox <mawilcox@microsoft.com> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Cc: "Darrick J. Wong" <darrick.wong@oracle.com> Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by:Jan Kara <jack@suse.com> Reported-by:
Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
Showing
- block/Kconfig 0 additions, 1 deletionblock/Kconfig
- drivers/dax/super.c 70 additions, 0 deletionsdrivers/dax/super.c
- fs/Kconfig 1 addition, 0 deletionsfs/Kconfig
- fs/block_dev.c 0 additions, 66 deletionsfs/block_dev.c
- fs/ext2/super.c 1 addition, 0 deletionsfs/ext2/super.c
- fs/ext4/super.c 1 addition, 0 deletionsfs/ext4/super.c
- fs/xfs/xfs_super.c 1 addition, 0 deletionsfs/xfs/xfs_super.c
- include/linux/blkdev.h 0 additions, 2 deletionsinclude/linux/blkdev.h
- include/linux/dax.h 28 additions, 2 deletionsinclude/linux/dax.h
Loading
Please register or sign in to comment