diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-08-30 09:43:34 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-08-31 09:33:30 -0700 |
commit | 8cf037a8b22f71c6659bd0246bfaba9e79766f64 (patch) | |
tree | 29488639a0421bfd6316beb79131630d43039009 /fs/ext4/super.c | |
parent | 486aff5e04823bb1e60c4045226eb244024b8420 (diff) | |
download | lwn-8cf037a8b22f71c6659bd0246bfaba9e79766f64.tar.gz lwn-8cf037a8b22f71c6659bd0246bfaba9e79766f64.zip |
ext2: 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/super.c')
0 files changed, 0 insertions, 0 deletions