diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-08-24 15:12:50 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-08-31 09:31:47 -0700 |
commit | 486aff5e04823bb1e60c4045226eb244024b8420 (patch) | |
tree | c0cc960b998086e92873d918f203a5e737e97db6 /samples/bpf/xdp_tx_iptunnel_kern.c | |
parent | 78f35473508118df5ea04b9515ac3f1aaec0a980 (diff) | |
download | blackbird-obmc-linux-486aff5e04823bb1e60c4045226eb244024b8420.tar.gz blackbird-obmc-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 'samples/bpf/xdp_tx_iptunnel_kern.c')
0 files changed, 0 insertions, 0 deletions