diff options
author | 2021-05-18 21:12:33 +0200 | |
---|---|---|
committer | 2021-06-21 15:19:07 +0200 | |
commit | bb059a37c9ff3e40c0348e82a7e3ebd3918cf418 (patch) | |
tree | cfdf5a402b913ec6907a6089b6adfd871ed632c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: add wrapper for conditional start of exclusive operation (diff) | |
download | linux-dev-bb059a37c9ff3e40c0348e82a7e3ebd3918cf418.tar.xz linux-dev-bb059a37c9ff3e40c0348e82a7e3ebd3918cf418.zip |
btrfs: add cancellation to resize
Accept literal string "cancel" as resize operation and interpret that
as a request to cancel the running operation. If it's running, wait
until it finishes current work and return ECANCELED.
Shrinking resize uses relocation to move the chunks away, use the
conditional exclusive operation start and cancellation helpers.
Reviewed-by: Josef Bacik <josef@toxicpanda.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