diff options
| author | Anand Jain <[email protected]> | 2018-11-11 22:22:20 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-12-17 14:51:35 +0100 |
| commit | b47dda2ef6d793b67fd5979032dcd106e3f0a5c9 (patch) | |
| tree | 47982c73533db45975fedbee41d9b72a3a4879e2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d189dd70e2556181732598956d808ea53cc8774e (diff) | |
btrfs: dev-replace: set result code of cancel by status of scrub
The device-replace needs to check the result code of the scrub workers
in btrfs_dev_replace_cancel and distinguish if successful cancel
operation and when the there was no operation running.
If btrfs_scrub_cancel() fails, return
BTRFS_IOCTL_DEV_REPLACE_RESULT_NOT_STARTED so that user can try
to cancel the replace again.
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ update changelog ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions