diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-08-25 00:12:50 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-08-31 18:31:47 +0200 |
commit | 486aff5e04823bb1e60c4045226eb244024b8420 (patch) | |
tree | c0cc960b998086e92873d918f203a5e737e97db6 /fs/ext2/super.c | |
parent | dax: introduce a fs_dax_get_by_bdev() helper (diff) | |
download | linux-486aff5e04823bb1e60c4045226eb244024b8420.tar.xz linux-486aff5e04823bb1e60c4045226eb244024b8420.zip |
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>
Diffstat (limited to 'fs/ext2/super.c')
0 files changed, 0 insertions, 0 deletions