Skip to content
  • Victor Kotlyar's avatar
    Ported commits from castor/master for general,drive,volume SCSI statistics: · e8b4ec34
    Victor Kotlyar authored
    fa889fed2541e22179b5e035d863f87e7be18fb9
      CASTOR-5322 RFE: Enhance tapeserverd logs with SCSI tape drive
        statistics
    
    b13f495e4ee229b2469f9470a2ffa6b4003a29ec
      Fix for mhtvl scsi log sense exceptions
    
    ad71058fbcb6de85e0440797d7ffa5358e26bf89
      CASTOR-5329 Enhance tape statistics
    
    806e48f4285122d8ab9f118364a15e740518028f
      CASTOR-5332 RFE: Reduce log level to INFO with MHVTL - SCSI Statistics
        could not be acquired from drive
    
    79c5a4c2c36b7acc5b10505ca1694fd521fc6832
    c7f6d4d7aaa564b37c2b36c3110dfe2fc96ec970
      Move volume SCSI statistics inside the dtor of TapeCleaningMove volume
        SCSI statistics inside the dtor of TapeCleaning
    
      ## Description
    
      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.
    
      ## Testing
    
      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
    e8b4ec34