summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-27 10:31:46 +0300
committerMike Snitzer <snitzer@redhat.com>2020-07-08 18:02:05 +0300
commit382761dc6312965a11f82f2217e16ec421bf17ae (patch)
treecf35f24dbd82601c538b7544089772e6da231f84 /tools/perf/scripts/python/export-to-postgresql.py
parent85067747cf9888249fa11fa49ef75af5192d3988 (diff)
downloadlinux-382761dc6312965a11f82f2217e16ec421bf17ae.tar.xz
dm: use bio_uninit instead of bio_disassociate_blkg
bio_uninit is the proper API to clean up a BIO that has been allocated on stack or inside a structure that doesn't come from the BIO allocator. Switch dm to use that instead of bio_disassociate_blkg, which really is an implementation detail. Note that the bio_uninit calls are also moved to the two callers of __send_empty_flush, so that they better pair with the bio_init calls used to initialize them. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions