Permalink
Commits on Jan 16, 2017
  1. Fix up source code comment in spectra_pm

    Forgot to change code comment from STK to Spectra Logic.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Jan 8, 2017
  2. vtllibrary: Call any external script before changing internal state

    Allows for better error recovery if the external script fails.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 2, 2016
  3. SSC: Log signal value at verbose 3

    Not that the value is actually used in the routine.
    But the value should help clarify if the function
    was called due to a timer() expiring or called directly
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 1, 2016
  4. Add a sample 'pass-through' template for stgt

    To use, place correct /dev/sg* paths to devices you want to
    expose via iSCSI and place script in /etc/tgt/conf.d/
    
    Then, once the target daemon is started : start using:
      tgt-admin -e -v
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 1, 2016
  5. SMC: Spectra Logic personality module - add Gator and 215 emulations

    Add the GATOR and 215 (Treefrog) emulations in addtion to the current
    Tseries
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Jan 9, 2017
  6. Update DVCID to suit Rev G of the SpectraLogic Tseries

    Still to do - add Media Domain / Type & Drive Domain / type fields
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Jan 8, 2017
Commits on Oct 12, 2016
  1. SSC: Rewind tape if a LOAD op code is received

    Reported-by: Rob Turk <robtu@rtist.nl>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 12, 2016
  2. Log tape load failures

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 12, 2016
Commits on Oct 6, 2016
  1. SSC: Update Log Sense page 0x30 stats

    Update Volume Mounts and Volume Datasets Written fields
    
    Reported-by: Rob Turk <robtu@rtist.nl>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 5, 2016
  2. Confirm tape is 'rewound' on load

    Postion was not updated if subsequient load issued. A load should
    position to BOT
    
    Reported-by: Rob Turk <robtu@rtist.nl>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 4, 2016
Commits on Sep 15, 2016
  1. SMC: MOVE MEDIUM - Return a more appropriate sense code

    Return 21/01 (Invalid Address) rather than Invalid field in CDB
    if the address of the elements is out of range.
    
    Reported-by: Rob Turk <robtu@rtist.nl>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 15, 2016
  2. Update drive Access bit when medium moved to/from drive

    Reported-by: Rob Turk <robtu@rtist.nl>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 15, 2016
Commits on Sep 7, 2016
  1. More debug log readability improvements

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 7, 2016
  2. Initialise SAM_STAT on tape load

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 7, 2016
  3. Update mhvtl man page.

    Better late then never.. Updated to reflect the kernel module
    will work with linux kernel 3.x
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 6, 2016
  4. Update vtlcmd man page for 'add slot' usage

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 6, 2016
  5. Improve verbose logging around tape load process

    Wording and sequence of log entries was confusing.
    Hopefully this will help readability at VERBOSE 3
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 6, 2016
  6. Remove unused vars

    Identified by new version of gcc
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 6, 2016
  7. Updating code style for function

    Opening bracket { of function starts on new line
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Sep 6, 2016
  8. print new slot_no

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    deathdrift committed with Sep 5, 2016
  9. Add a command:vtlcmd <DeviceNo> add slot. Add a storage slot to library.

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    deathdrift committed with Sep 5, 2016
  10. correct mktape exit code, add reload in service script.

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    deathdrift committed with Sep 5, 2016
Commits on Aug 18, 2016
  1. Fix compile time with minilzo package

    Follow the instructions and include the correct headers in mhvtl
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 15, 2016
Commits on Jul 5, 2016
  1. Update Medium Partition mode page to suit IBM LTO5 documentation

    Reported-by: Nuno Fernandes via nabble.com forum
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed May 3, 2016
  2. ssc: Fill in Report Density details correctly

    Reported-by: Nuno Fernandes via nabble.com forum
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Jul 5, 2016
  3. Correct size of Disconnect-Reconnect mode page

    The mode page should be 0x0e in size.
    Reference: IBM LTO5 SCSI reference.
    
    Reported-by: Nuno Fernandes via nabble.com forum
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed May 3, 2016
  4. Display Encryption key/AKAD & UKAD during dump_tape

    A hex representation of the Key / AKAD / UKAD data if encrypted
    key present
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 13, 2016
Commits on Mar 10, 2016
  1. Add missing files for minilzo

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 10, 2016
  2. Update spec file for 1.5-4_release

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 10, 2016
  3. Add LTO-7 emulation

    Signed-off-by: Jean-Michel Drean <j.drean@oodrive.fr>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Jean-Michael Drean committed with Mar 8, 2016
  4. Use safe version of lzo1x decompression function.

    Seen a couple of instances of segfaults using non-safe version.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 7, 2016
  5. Remove dependency on external lzo packages

    Reading the README that came with lzo-2.09 and realised what
    minilzo was all about. Embedding minilzo into code to simplify
    packaging / building requirements
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 10, 2016
  6. Add data read to tape_dump

    Adding a '-D' switch to also read each block of data.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 3, 2016
  7. Prevent segfault on missing mode page & worm media

    Attempting to use NULL pointer.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Feb 26, 2016
Commits on Feb 16, 2016
  1. ssc: Fix 2s-complement calculation for space

    Signed-off-by: Dave Bray <davebray43@gmail.com>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    ztips committed with Feb 16, 2016