Permalink
Commits on Aug 8, 2012
  1. mhvtl.spec: Update for 1.4-1_release

    markh794 committed Aug 8, 2012
     Fix dump_tape to understand new library subdirectory format
     Fix vtlcmd to understand new library subdirectory format
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 7, 2012
  1. Add Makefile for man page info

    markh794 committed with Mark Harvey Aug 7, 2012
    A 'fall-out' of simplifying RPM SPEC file is 'make install' needs
    the man pages too.
    
    Bug report by: sbcedservice
    http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com/Re-make-install-error-Release-1-4-0-mhvtl-2012-08-01-td4025060.html
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 2, 2012
  1. Update device.conf man page

    markh794 committed with Mark Harvey Aug 2, 2012
    Add "Home directory:" field to man page
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Initial commit of mhVTL install/configure script for CentOS

    markh794 committed with Mark Harvey Aug 2, 2012
    Use at own risk..
     - Install basic CentOS (tested with 6.2)
     - Run script as 'root'
    
    Signed-off-by: Patrick Ru <patrick.ru@hotmail.com>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. mhvtl.spec: Update for 1.4-0_release

    markh794 committed with Mark Harvey Aug 1, 2012
        New features
          vtltape: Make the backoff algrithm value configurable
          Default media belonging to a library in a subdir
          Add default "Home directory" entry in device.conf
        Personality module updates
          Allow 'default' module to load all media R/W
          Add IBM half-hight INQUIRY string match
          vtltape: Update log entry regarding media capacity depending on capabiliti
          Initial commit of SDLT600 personality module
          Initial commit of SDLT320 personality module
          Update mktape to work 'better' with SDLT media types
        Cleanups
          Move standard inquiry info into memory structure
          mhvtl.ko: Silence install 'depmod' error
          Standardize on PCODE_OFFSET for inquiry page code mask
          Remove unused variable 'removable'
          Improve logging of mode page creation
        Packaging:
          Remove kmod-mhvtl.spec
          Rename 'mhvtl' package as 'mhvtl-utils'
          Use ELRepo spec file
          Move 'make install' responsibility from RPM to Makefile
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Move 'make install' responsibility from RPM to Makefile

    markh794 committed with Mark Harvey Aug 1, 2012
    Simplify RPM SPEC file and move responsibility of 'make install'
    into the Makefile
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  5. Add default "Home directory" entry in device.conf

    markh794 committed with Mark Harvey Jul 26, 2012
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  6. Update mktape with new media path layout

    markh794 committed with Mark Harvey Jul 25, 2012
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  7. Default media belonging to a library in a subdir

    markh794 committed with Mark Harvey Jul 20, 2012
    Check for media in /opt/mhvtl/<library id>/<media id> if this
    fails, fall back to old default of /opt/mhvtl/<media id>
    
    Look for virtual media in a library subdirectory
    	/opt/mhvtl/<library number>/<media id>
    
    Or the path specified in the device.conf (Library entry)
     Home directory: /opt/mhvtl/path/to/somewhere
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  8. Use ELRepo spec file

    markh794 committed with Mark Harvey Jul 21, 2012
    Updated version date to assist testing.
    Move '%changelog' data into a file 'ChangeLog'
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  9. Rename 'mhvtl' package as 'mhvtl-utils'

    markh794 committed with Mark Harvey Jul 21, 2012
    As recommended by ELRepo as 'best practice'
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  10. Remove kmod-mhvtl.spec

    markh794 committed with Mark Harvey Jul 21, 2012
    As recommended by ELRepo.
    
    Quote:
    "I would remove the kmod-mhvtl.spec file from the tarball, since this
    one is very specific to RHEL5. Maybe it is better to leave the packaging
    up to the distributions/repositories instead"
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jul 7, 2012
  1. Improve logging of mode page creation

    markh794 committed with Mark Harvey Jul 7, 2012
    Only seen at log level 3... But should be better than earlier.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Remove unused variable 'removable'

    markh794 committed with Mark Harvey Jul 7, 2012
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Add SDLT320 emulation (a copy of SDLT600)

    markh794 committed with Mark Harvey Jul 4, 2012
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Update SDLT600 personality module

    markh794 committed with Mark Harvey Jul 5, 2012
    Updated INQUIRY data as per SDLT600 SCSI Software Interface Guide
    
    Note:
    Still need to remove some IBM LTO unique data from this personality module
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  5. Standardize on PCODE_OFFSET for inquiry page code mask

    markh794 committed with Mark Harvey Jul 5, 2012
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  6. Move standard inquiry info into memory

    markh794 committed with Mark Harvey Jul 5, 2012
    Setup a static inquiry in memory instead of dynamically build
    each time. This will allow 'custom' inquiry code to be removed
    from each personality module.
    The in-memory data structure is configured during module initialisation.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jul 3, 2012
Commits on Jun 29, 2012
  1. Update mktape to work 'better' with SDLT media types

    markh794 committed with Mark Harvey Jun 28, 2012
    Slight syntax change (SDLT1/2/3/4) to SDLT1/SDLT220/SDLT320/SDLT600
    Updated make_vtl_media script to use following suffix:
    
    S1 => SDLT220
    S2 => SDLT320
    S3 => SDLT600
    Sx => SDLT (where 'x' is any other char)
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Initial commit of SDLT600 personality module

    markh794 committed with Mark Harvey Jun 21, 2012
    Based on Ultrium 4 with encryption removed.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jun 21, 2012
  1. vtltape: Make the backoff algrithm value configurable

    markh794 committed with Mark Harvey Jun 21, 2012
    Add " Backoff: 10 -> 100000"
    
    For each poll of ioctl(), if nothing to do, add Backoff value to
    usleep time. If there is something to do, reset usleep time to 10
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jun 16, 2012
  1. Allow 'default' module to load all media R/W

    markh794 committed with Mark Harvey Jun 15, 2012
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. vtltape: Update log entry regarding media capacity depending on capab…

    markh794 committed with Mark Harvey Jun 16, 2012
    …ilities
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Add IBM half-hight INQUIRY string match

    markh794 committed Jun 16, 2012
    Add support for 3580-HHx inquiry strings
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jun 15, 2012
  1. mhvtl.spec: Update for 1.3-0_release

    markh794 committed with Mark Harvey Jun 15, 2012
    - Move 'on disk' unique functions into its own shared lib (libvtlcart.so)
    - HP Ultrium VPD page data update to match HP documentation
    - IBM Ultrium VPD page 0xC0 & 0xC1 update to match IBM documentation
    - Fix SPIN return status
    - Add helper functions for moving media within library
      (in prep for library partition manager)
    - Add ability to set/clear APPEND ONLY status from user (vtlcmd)
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. IBM LTO VPD page 0xC0 - Fill in compile date/time

    markh794 committed with Mark Harvey Jun 15, 2012
    As per IBM Ultrium-5 SCSI Programmers guide, VPD page 0xc0 contains
    compile time/date strings.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Clean up a couple of compile time warnings

    markh794 committed with Mark Harvey Jun 15, 2012
    - Cast wrong formatting a log entry
    - Unused var 'data'
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jun 14, 2012
  1. Fix memory leak if HUP library daemon

    markh794 committed with Mark Harvey Jun 14, 2012
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. IBM LTO personality module - Fix VPD page 0xC1

    markh794 committed with Mark Harvey Jun 14, 2012
    Return serial number in VPD page 0xC1 as per IBM SCSI programmers guide
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Fix hp personality module from segfaulting

    markh794 committed with Mark Harvey Jun 14, 2012
    Fix overwrite of stack causing malloc() failures
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Improve reporting of out-of-memory failure

    markh794 committed with Mark Harvey Jun 14, 2012
    Log error if malloc() fails during initialisation stage.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  5. HP LTO emulation results in segfault.

    markh794 committed with Mark Harvey Jun 14, 2012
    Commenting out offending code until root cause is understood.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>