]> Git Repo - linux.git/commit
block, dax: move "select DAX" from BLOCK to FS_DAX
authorDan Williams <[email protected]>
Mon, 8 May 2017 17:55:27 +0000 (10:55 -0700)
committerDan Williams <[email protected]>
Mon, 8 May 2017 17:55:27 +0000 (10:55 -0700)
commitef51042472f55b325fd7f2b26a2e29fd89757234
treead814d3a1537f69b6ca54c0417260324e8f1a6eb
parent74d71a01abef37f71d914f2105a4cb8712a2beb8
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: [email protected]
Cc: Jens Axboe <[email protected]>
Cc: "Theodore Ts'o" <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: "Darrick J. Wong" <[email protected]>
Cc: Ross Zwisler <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
block/Kconfig
drivers/dax/super.c
fs/Kconfig
fs/block_dev.c
fs/ext2/super.c
fs/ext4/super.c
fs/xfs/xfs_super.c
include/linux/blkdev.h
include/linux/dax.h
This page took 0.060671 seconds and 4 git commands to generate.