]> git.baikalelectronics.ru Git - kernel.git/commit
dax: add a facility to lookup a dax device by 'host' device name
authorDan Williams <dan.j.williams@intel.com>
Wed, 19 Apr 2017 22:14:31 +0000 (15:14 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 19 Apr 2017 22:14:31 +0000 (15:14 -0700)
commit9f05f5510f1af3d858dbc160b187281c0de48b65
treea92ff7c7c6c968e2c7fc17a0b0e85b5fc3514af5
parent873d92e6523e7ba32ca5a0d92e2b4179cc342eec
dax: add a facility to lookup a dax device by 'host' device name

For the current block_device based filesystem-dax path, we need a way
for it to lookup the dax_device associated with a block_device. Add a
'host' property of a dax_device that can be used for this purpose. It is
a free form string, but for a dax_device associated with a block device
it is the bdev name.

This is a stop-gap until filesystems are able to mount on a dax-inode
directly.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/dax.h
drivers/dax/device.c
drivers/dax/super.c
include/linux/dax.h