aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-04-12 10:05:29 +0200
committerSong Liu <song@kernel.org>2021-04-15 11:06:32 -0700
commitd144fe6ff176d79efd411e520103a99e11874c36 (patch)
tree9e3b39fbce20c5f69c28cd6fd230847e659ab094 /tools/perf/scripts/python
parentmd: factor out a mddev_alloc_unit helper from mddev_find (diff)
downloadlinux-d144fe6ff176d79efd411e520103a99e11874c36.tar.gz
linux-d144fe6ff176d79efd411e520103a99e11874c36.zip
md: refactor mddev_find_or_alloc
Allocate the new mddev first speculatively, which greatly simplifies the code flow. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions