aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2022-08-11 11:14:17 -0600
committerSong Liu <song@kernel.org>2022-09-22 00:05:04 -0700
commitf9287c3e93f00d3236c4c81bf76dae43afd903b9 (patch)
tree5e8e54d42d7422880e21544f665c88b7353b9fe9 /tools/perf/scripts/python/export-to-postgresql.py
parent2f2d51efd83225c1eb0d7771ddfe9fddd5ccd378 (diff)
md/raid5: Don't read ->active_stripes if it's not needed
The atomic_read() is not needed in many cases so only do the read after the first checks are done. Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions