Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 15, 2012
  1. mhvtl.spec: Update for 1.3-0_release

    authored Mark Harvey committed
    - 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

    authored Mark Harvey committed
    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

    authored Mark Harvey committed
    - 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

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

    authored Mark Harvey committed
    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

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

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

    authored Mark Harvey committed
    Commenting out offending code until root cause is understood.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jun 1, 2012
  1. Minor optimisation. Set values for all members of struct

    authored
    Instead of memset(... 0) the whole struct then setting initial
    values for most of the vars, remove memset and initialise all
    existing members (only one left).
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on May 31, 2012
  1. Whitespace cleanup in logging.h

    authored
    Found by 'checkpatch.pl'
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on May 29, 2012
  1. hp_ultrium_pm: fix segfault in update_hp_vpd_cx()

    Sebastian Herbszt authored committed
    Need to use PCODE_OFFSET(pg) instead of plain pg.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on May 24, 2012
  1. Fix return status of Security Protocol IN

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on May 23, 2012
  1. Fix compile brakage after HP VPD updates.

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. remove unused REPORT LUNS command processing from user space

    Sebastian Herbszt authored committed
    The REPORT LUNS command is processed in the kernel module.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Update .gitignore

    Sebastian Herbszt authored committed
    Add usr/libvtlcart.so to .gitignore file.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Update HP VPD data structures

    authored
    Sebastian Herbszt kindly supplied pointer to HP LTO5 doco
    
    Included in the doco is information describing VPD pages 0xC0 - 0xC5
    Updated HP emulation with this info.
    
    Made up dates.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  5. Log SCSI OP code 'FORCED EJECT' 0xa4 (0x1f)

    authored
    Found in HP referenced guide v3
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  6. update shared lib location.

    authored
    Mint & Ubuntu don't appear to be using lib64 any more.
    Search ld.so.conf.d/* for 'lib64', if not there set
    install path to 'lib' instead of 'lib64'
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  7. Add drive capabilities across all emulations

    authored
    Drive capability was incorrectly set for HP LTO drives.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Apr 26, 2012
  1. Cleaned up code style in 'movecommand' patchset

    authored
    Updated coding style as reported by scripts/checkpatch.pl
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Move logging macros into their own header file

    authored
    MHVTL_DBG & MHVTL_LOG now live in logging.h
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Implement movecommand

    Ivo De Decker authored committed
    When a movecommand is defined, the command will be run every time media is
    moved. If the command returns a non-zero exit code, the move will fail.
    
    Signed-off-by: Ivo De Decker <ivo.dedecker@ugent.be>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Build subprocess.o and link it into libvtlscsi.so.

    Ivo De Decker authored committed
    Currently not used.
    
    Signed-off-by: Ivo De Decker <ivo.dedecker@ugent.be>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  5. Add movecommand and commandtimeout config option

    Ivo De Decker authored committed
    Defined in device.conf. Currently not implemented.
    
    Signed-off-by: Ivo De Decker <ivo.dedecker@ugent.be>
  6. Add to smc_priv for 'movecommand' functionality

    authored
    Add 'movecommand' and 'commandtimeout' to smc_priv struct
    
    Where
    'movecommand' is:
      a pointer to the name of an external command to call
    'commandtimeout' is:
      The timeout value given for the external command.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  7. add subprocess.[ch] to run external commands

    Ivo De Decker authored committed
    Signed-off-by: Ivo De Decker <ivo.dedecker@ugent.be>
  8. Fix segfault if message sent to invalid drive

    authored
    Occurs if library_contents contains a 'drive' number that is not
    defined in device.conf
    
    Check valid slot before attempting to send message
    
    Reported-by: Ivo De Decker <ivo.dedecker@ugent.be>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  9. Don't use vtl_driver_name

    Ivo De Decker authored committed
    vtl_driver_name is not accessible, so don't use it in debug code
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  10. init script: use $syslog

    Ivo De Decker authored committed
    The init script can require $syslog te be started, so we don't need to try and
    find which syslog is used on this system.
    
    Signed-off-by: Ivo De Decker <ivo.dedecker@ugent.be>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  11. Add ability to set/clear APPEND ONLY mode of target

    authored
    vtlcmd <index> Append Only Yes|No
    
    Will overwrite 'normal' Append Only operation to force a
    set/clear of Append Only mode.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  12. Old v1 on-disk format converted to 'shared lib'

    mtulner authored committed
    Signed-off-by: mtulner <mtr@fast.ag>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  13. Separate vtlcart as shared object

    mtulner authored committed
    Signed-off-by: mtulner <mtr@fast.ag>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  14. Some useful scripts

    mtulner authored committed
    Signed-off-by: mtulner <mtr@fast.ag>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  15. Change checkpatch.pl default to "--no-tree"

    authored
    As this project is outside the kernel source tree, this makes
    a more sensible default.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  16. Update checkpatch.pl to latest from linux kernel src

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Something went wrong with that request. Please try again.