commit | 78f35473508118df5ea04b9515ac3f1aaec0a980 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Wed Aug 30 09:16:38 2017 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Wed Aug 30 09:16:38 2017 -0700 |
tree | 176dba5e8788be7cd4bb4d422e21b25fa190ec67 | |
parent | 14ccee78fc82f5512908f4424f541549a5705b89 [diff] |
dax: introduce a fs_dax_get_by_bdev() helper Add a helper that can replace the following common pattern: if (blk_queue_dax(bdev->bd_queue)) fs_dax_get_by_host(bdev->bd_disk->disk_name); This will be used to move dax_device lookup from iomap-operation time to fs-mount time. Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>