From 05b7175a566f47496a56a4301defe65946fa810b Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Tue, 3 May 2022 08:07:08 +0200 Subject: [PATCH] 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 --- src/tape/pool_writer/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tape/pool_writer/mod.rs b/src/tape/pool_writer/mod.rs index 3ec8a9ba..0100ba6e 100644 --- a/src/tape/pool_writer/mod.rs +++ b/src/tape/pool_writer/mod.rs @@ -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()?;