diff options
author | 2021-05-11 00:17:26 +0900 | |
---|---|---|
committer | 2021-06-21 15:19:04 +0200 | |
commit | f4dcfb30452631f7f308c144e1fd4d8a6ad7111b (patch) | |
tree | 06b4e52e642ec7aa40fa68ffc8e5e0067edb8989 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: zoned: bail out if we can't read a reliable write pointer (diff) | |
download | linux-dev-f4dcfb30452631f7f308c144e1fd4d8a6ad7111b.tar.xz linux-dev-f4dcfb30452631f7f308c144e1fd4d8a6ad7111b.zip |
btrfs: rename check_async_write and let it return bool
The 'check_async_write' function is a helper used in
'btrfs_submit_metadata_bio' and it checks if asynchronous writing can be
used for metadata.
Make the function return bool and get rid of the local variable async in
btrfs_submit_metadata_bio storing the result of check_async_write's
tests.
As this is touching all function call sites, also rename it to
should_async_write as this is more in line with the naming we use.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@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