diff options
| author | Matias Bjørling <[email protected]> | 2018-12-11 20:16:20 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-12-11 12:22:34 -0700 |
| commit | 85136c0102852fe505c0fbd3f1bf9d17038bb94d (patch) | |
| tree | d29935a0632710c0c89212a7bfca66042ae2b834 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 361d889f830ef61e4eae442c4c89fb14b626375f (diff) | |
lightnvm: simplify geometry enumeration
Currently the geometry of an OCSSD is enumerated using a two step
approach:
First, nvm_register is called, the OCSSD identify command is issued,
and second the geometry sos and csecs values are read either from the
OCSSD identify if it is a 1.2 drive, or from the NVMe namespace data
structure if it is a 2.0 device.
This patch recombines it into a single step, such that nvm_register can
use the csecs and sos fields independent of which version is used. This
enables one to dynamically size the lightnvm subsystem dma pool.
Reviewed-by: Igor Konopko <[email protected]>
Reviewed-by: Javier González <[email protected]>
Signed-off-by: Matias Bjørling <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions