Ming-Hung Tsai
|
f6eb5173c9
|
[era_restore] Avoid touching the output file by checking input file earlier
The output file has been checked by the caller, so there's no need
to check the output file again.
|
2021-10-21 17:51:28 +08:00 |
|
Joe Thornber
|
58cd881340
|
Fix regression where era_restore wouldn't work with devices.
check_file_exists() had an extra parameter added with a default, which was
the wrong default for era_restore.
|
2021-02-17 15:15:57 +00:00 |
|
Joe Thornber
|
e801cc607b
|
[block_manager] Hard code block size to 4k.
We're never going to use anything other than 4k, and by hard coding it we
avoid making block_manager a template.
|
2020-04-30 14:30:01 +01:00 |
|
Joe Thornber
|
924a996fa7
|
[era_restore] Ignore errors from zero_superblock.
Since it's on the error path.
|
2017-10-05 11:49:01 +01:00 |
|
Joe Thornber
|
5b92f410ec
|
[*_restore] if things go wrong wipe the superblock.
So we don't leave the metadata device with partially restored metadata.
|
2017-09-28 14:39:24 +01:00 |
|
Joe Thornber
|
4779fb9b80
|
[various] Improve documentation
Output file must be preallocated.
|
2016-07-11 14:53:03 +01:00 |
|
Joe Thornber
|
c93e728ef4
|
[base] introduce a command type that gets registered with the app
|
2016-01-08 12:51:52 +00:00 |
|
Joe Thornber
|
6f8b7e2914
|
[all] Build a single executable
|
2014-08-27 14:01:31 +01:00 |
|
Joe Thornber
|
828f654800
|
[*_restore] Add progress bar to cache_restore and era_restore.
A lot of refactoring common code between the restore tools.
|
2014-08-26 13:05:21 +01:00 |
|
Joe Thornber
|
157eca4dd0
|
[era_restore] tweak help message
|
2014-08-12 10:20:29 +01:00 |
|
Joe Thornber
|
283ab4ad99
|
first drop of era_restore
|
2014-08-07 15:43:01 +01:00 |
|