Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs-progs: scrub: show the scrubbing rate and estimated time to finish
The estimation is based on the allocated bytes, so it might be overestimated. Scrub reports the size of all bytes scrubbed, taking into account the replication, so we're comparing that with total sum over all devices that we get from DEV_INFO, in the same units. Example output: scrub status for xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx scrub started at Fri May 31 15:56:57 2019, running for 0:04:31 total 62.55GiB scrubbed at rate 236.37MiB/s, time left: 0:12:31 no errors found Pull-request: #177 Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org> Signed-off-by: David Sterba <dsterba@suse.com>
- Loading branch information
Showing
1 changed file
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters