aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2015-11-26 12:42:26 +0100
committerJens Axboe <[email protected]>2015-12-22 09:38:33 -0700
commitfd634f4142861e533ac57e88ece8e98ab5851edb (patch)
tree686c18eac611c7782a5dfe0cc48282bac6daf051 /tools/perf/scripts/python/sched-migration.py
parente1569a16180aef4311ff5fc54f54b23ae9e8a03e (diff)
nvme: merge probe_work and reset_work
If we're using two work queues we're always going to run into races where one item is tearing down what the other one is initializing. So insted merge the two work queues, and let the old probe_work also tear the controller down first if it was alive. Together with the better detection of the probe path using a flag this gives us a properly serialized reset/probe path that also doesn't accidentally trigger when two commands time out and the second one tries to reset the controller while the first reset is still in progress. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Keith Busch <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions