aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2021-09-27 15:21:51 +0800
committerDavid Sterba <dsterba@suse.com>2021-10-26 19:08:04 +0200
commit6853c64a6e763fedfeef214569ceea40008cc007 (patch)
tree6d4079970cc420202b85ba9427a90ae075749df5 /tools/perf/scripts/python/export-to-postgresql.py
parentbtrfs: handle errors properly inside btrfs_submit_compressed_read() (diff)
downloadwireguard-linux-6853c64a6e763fedfeef214569ceea40008cc007.tar.xz
wireguard-linux-6853c64a6e763fedfeef214569ceea40008cc007.zip
btrfs: handle errors properly inside btrfs_submit_compressed_write()
Just like btrfs_submit_compressed_read(), there are quite some BUG_ON()s inside btrfs_submit_compressed_write() for the bio submission path. Fix them using the same method: - For last bio, just endio the bio As in that case, one of the endio function of all these submitted bio will be able to free the compressed_bio - For half-submitted bio, wait and finish the compressed_bio manually In this case, as long as all other bio finish, we're the only one referring the compressed bio, and can manually finish it. Signed-off-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions