diff options
| author | Sunad Bhandary <[email protected]> | 2016-05-27 15:59:43 +0530 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2016-06-08 08:48:47 -0600 |
| commit | 47b0e50ac724d97c392f771bb46f11d9d1575242 (patch) | |
| tree | d7b8a1a5029d1429760e8f90eda1a619a97c18c0 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | bd0fc2884ca4d1516da1aa5cf44385e24dc23c29 (diff) | |
NVMe: Fix removal in case of active namespace list scanning method
In case of the active namespace list scanning method, a namespace that
is detached is not removed from the host if it was the last entry in
the list. Fix this by adding a scan to validate namespaces greater than
the value of prev.
This also handles the case of removing namespaces whose value exceed
the device's reported number of namespaces.
Signed-off-by: Sunad Bhandary S <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions