aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRoy Shterman <[email protected]>2017-10-18 13:46:07 +0300
committerChristoph Hellwig <[email protected]>2017-10-20 12:06:02 +0200
commitba2dec35e431e62e11116b8036dc372493169b39 (patch)
tree4ab490185eed392dab6b55cab62f0fc48ecc78b4 /tools/perf/scripts/python/bin/stackcollapse-report
parent86f36b9c6c6cda28c86ead09323f55018e5e64df (diff)
nvmet: Change max_nsid in subsystem due to ns_disable if needed
In case we disable namespaces which has the nsid like subsystem max_nsid we need to search for the next largest nsid in this subsystem. If the subsystem don't has more namespaces we set it to 0, else we take nsid from the last namespace in namespaces list because the list is sorted while inserting. Reviewed-by: Max Gurtovoy <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Roy Shterman <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> [hch: slight refactor] Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions