mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-18 14:20:09 +01:00
Add fixme for ETA calculation.
This commit is contained in:
@@ -631,6 +631,7 @@ static void print_progress(struct reenc_ctx *rc, uint64_t bytes, int final)
|
||||
if (!mib)
|
||||
return;
|
||||
|
||||
/* FIXME: calculate this from last minute only and remaining space */
|
||||
eta = (unsigned long long)(rc->device_size / 1024 / 1024 / mib - tdiff);
|
||||
|
||||
/* vt100 code clear line */
|
||||
|
||||
Reference in New Issue
Block a user