diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-08-25 01:42:48 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-08-31 20:12:13 +0200 |
commit | 5e405595e5bf4c09fab9ca1e7dbe5b62872757b5 (patch) | |
tree | d26852e38cf6c07551d0f42f1e03435e75067583 /fs/ext4/extents_status.c | |
parent | ext2: perform dax_device lookup at mount (diff) | |
download | linux-5e405595e5bf4c09fab9ca1e7dbe5b62872757b5.tar.xz linux-5e405595e5bf4c09fab9ca1e7dbe5b62872757b5.zip |
ext4: 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.
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Reviewed-by: Jan Kara <jack@suse.cz>
Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/ext4/extents_status.c')
0 files changed, 0 insertions, 0 deletions