diff options
author | Alexander Duyck <alexander.h.duyck@linux.intel.com> | 2018-10-10 16:39:35 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-10-12 08:39:31 -0700 |
commit | 7d47aad4570e5e6e9a8162bb417ca9b74132f27c (patch) | |
tree | d3ced75bf26076e6be01c513f7fdfe22de5a6f1f /scripts/ksymoops | |
parent | 2d657d17f72d2ae70c02f0d0ea6a04ad0f016b57 (diff) | |
download | linux-7d47aad4570e5e6e9a8162bb417ca9b74132f27c.tar.bz2 |
nvdimm: Use namespace index data to reduce number of label reads needed
This patch adds logic that is meant to make use of the namespace index data
to reduce the number of reads that are needed to initialize a given
namespace. The general idea is that once we have enough data to validate
the namespace index we do so and then proceed to fetch only those labels
that are not listed as being "free". By doing this I am seeing a total time
reduction from about 4-5 seconds to 2-3 seconds for 24 NVDIMM modules each
with 128K of label config area.
Reviewed-by: Toshi Kani <toshi.kani@hpe.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions