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

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

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

    markh794 committed Nov 1, 2016
    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>
  4. Add a sample 'pass-through' template for stgt

    markh794 committed Nov 1, 2016
    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>
  5. SMC: Spectra Logic personality module - add Gator and 215 emulations

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

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

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

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

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

    markh794 committed Oct 4, 2016
    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>
Commits on Sep 15, 2016
  1. SMC: MOVE MEDIUM - Return a more appropriate sense code

    markh794 committed Sep 15, 2016
    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>
  2. Update drive Access bit when medium moved to/from drive

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

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

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

    markh794 committed Sep 6, 2016
    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>
  4. Update vtlcmd man page for 'add slot' usage

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

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

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

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

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

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

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

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

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

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

    markh794 committed May 3, 2016
    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>
  4. Display Encryption key/AKAD & UKAD during dump_tape

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

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

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

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

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

    markh794 committed Mar 10, 2016
    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>
  6. Add data read to tape_dump

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

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

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