commit | 486aff5e04823bb1e60c4045226eb244024b8420 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Thu Aug 24 15:12:50 2017 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Aug 31 09:31:47 2017 -0700 |
tree | c0cc960b998086e92873d918f203a5e737e97db6 | |
parent | 78f35473508118df5ea04b9515ac3f1aaec0a980 [diff] |
xfs: perform dax_device lookup at mount The ->iomap_begin() operation is a hot path, so cache the fs_dax_get_by_host() result at mount time to avoid the incurring the hash lookup overhead on a per-i/o basis. Reported-by: Christoph Hellwig <hch@lst.de> 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>