commit | 5e405595e5bf4c09fab9ca1e7dbe5b62872757b5 | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Thu Aug 24 16:42:48 2017 -0700 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Aug 31 11:12:13 2017 -0700 |
tree | d26852e38cf6c07551d0f42f1e03435e75067583 | |
parent | 8cf037a8b22f71c6659bd0246bfaba9e79766f64 [diff] |
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>