Skip to content

Move volume SCSI statistics inside the dtor of TapeCleaning


When first introduced volume SCSI Statistics (at the moment IBM-specific), we explicitly put the function after the unmount of the tape was done due to an invalid file descriptor error occurring during the SCSI query.

This bug no longer occurs for IBM drives. This may be attributed to the update of firmware of the IBM drives

Apart from the change of the position of the changes, there is no alteration in terms of the metrics reported from the drive to the logs.


The tests the new code has been through are:

  • Write/Read file on IBM lib0 drive (older one)
  • Write/Read file on IBM lib4 drive (newer one)
  • Write/Read file on Oracle T10k drive

Merge request reports