1. 15 Jun, 2021 1 commit
  2. 02 Jun, 2021 1 commit
  3. 30 Sep, 2016 1 commit
    • 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
  4. 31 Aug, 2016 1 commit
  5. 12 Feb, 2016 1 commit
  6. 16 Jul, 2015 2 commits
  7. 15 Jul, 2015 2 commits
  8. 03 Jul, 2014 1 commit
  9. 18 Mar, 2014 2 commits
  10. 13 Mar, 2014 1 commit
  11. 18 Feb, 2014 1 commit
  12. 09 Jan, 2014 1 commit
  13. 12 Dec, 2013 1 commit
    • Eric Cano's avatar
      Fixed inheritance from std::exception (const correctness of what()). This... · 565c7a37
      Eric Cano authored
      Fixed inheritance from std::exception (const correctness of what()). This required declaring m_what mutable.
      Created a multithreaded unit test.
      Created an automatic exception thrower for unhandled errors.
      Ported from previous proof of concept the threading primitves and made them production level (with error checking).
      Added unit tests for threading primitives.
      565c7a37
  14. 26 Nov, 2013 1 commit
  15. 05 Dec, 2013 2 commits
  16. 06 Nov, 2013 1 commit
  17. 26 Sep, 2013 1 commit
    • Eric Cano's avatar
      Changed the Drive classes layout: · d4d08a70
      Eric Cano authored
      Tape::Drive is now a container, taking care of allocating the proper type of drive depending on the device information.
      Tape::DriveGeneric is the old parent class. It is now a pure virtual for lack of the non-common functions.
      
      The tests (unit and system) have been adapated.
      
      The system test environement now has a vide sampler of drive types (LTO from IBM and HP, 3592 from IBM in 3 flavors and T10K A, B and C from Oracle). The complete list of flavors is in usr/vtltape.c in mhvtl sources.
      d4d08a70
  18. 23 Aug, 2013 1 commit
  19. 20 Aug, 2013 1 commit
    • Eric Cano's avatar
      Continued documentation · 03326c68
      Eric Cano authored
      Removed the author list from every file and added the complete list into a single file.
      03326c68
  20. 14 Aug, 2013 1 commit
    • Eric Cano's avatar
      Added a dependancy between the test and real system wrappers. · d4afab27
      Eric Cano authored
      As a consequence, removed the templatisation of Tape::Drive* and SCSI::DeviceVector
      Moved much of their functions from .hh to .cc (thanks to end of templatisation).
      Removed copilation options from many .cc after moving Tape::System::mockWrapper::mockWrapper to a .cc.
      d4afab27
  21. 07 Aug, 2013 1 commit
  22. 03 Jul, 2013 1 commit
  23. 27 Jun, 2013 1 commit
  24. 26 Jun, 2013 1 commit
  25. 19 Jun, 2013 1 commit
    • Eric Cano's avatar
      Fixed a missing closedir. · 2d10c8e1
      Eric Cano authored
      Added a compulsory valgrind run in the build of rpms.
      This build should fail on memory leak.
      2d10c8e1
  26. 13 Jun, 2013 1 commit
  27. 12 Jun, 2013 1 commit
  28. 07 Jun, 2013 1 commit
    • Eric Cano's avatar
      Added exceptions · 89632b72
      Eric Cano authored
      Completed a first test harness based on a system wrapper, simulating sysfs and 3 generic scsi devices.
      Created test using the harness.
      Created SCSI::DeviceVector class, listing the devices on the system.
      89632b72
  29. 05 Jun, 2013 2 commits
  30. 31 May, 2013 1 commit