diff options
author | 2016-05-27 15:59:43 +0530 | |
---|---|---|
committer | 2016-06-08 08:48:47 -0600 | |
commit | 47b0e50ac724d97c392f771bb46f11d9d1575242 (patch) | |
tree | d7b8a1a5029d1429760e8f90eda1a619a97c18c0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nvme: use UINT_MAX for max discard sectors (diff) | |
download | linux-dev-47b0e50ac724d97c392f771bb46f11d9d1575242.tar.xz linux-dev-47b0e50ac724d97c392f771bb46f11d9d1575242.zip |
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 <sunad.s@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions