tape: notify when arriving at end of media

when continuing a media set, we first move to the end of the tape and
start with the next (chunk) archive. If that takes long, the task logs
last line is 'moving to end of media' even if we already startet
writing. To make this less confusing, log that we arrived at the
end of the media.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2022-05-03 08:07:08 +02:00
parent bc21ade293
commit 05b7175a56
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,7 @@ impl PoolWriter {
task_log!(worker, "moving to end of media");
status.drive.move_to_eom(true)?;
status.at_eom = true;
task_log!(worker, "arrived at end of media");
}
let current_file_number = status.drive.current_file_number()?;