Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 9, 2011
  1. mhvtl.spec: Update for 1.1 release

    authored
    With inclusion of 'real time event notification', bumping minor version
    from 1.0 to 1.1
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. log sense: Update Sequential Access Device page

    authored
    Include stats regarding compression ratios
    
    Now keeping stats on
     Data read/written both from/to media & initiator.
    
    The difference is the compression factor.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Oct 7, 2011
  1. Default common fifo for all daemons

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Add realtime state notification

    authored
    Accessed via named pipe (-f /path/to/fifo)
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Restructure writeBlock()

    authored
    Potentially save a memcpy() for incorrect block sizes.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 28, 2011
  1. Remove temp var : struct smc_priv *smc_p

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. vtllibrary: rename var 'slot_layout' to 'smc_p'

    authored
    Naming convention similar to vtltape - ssc_p
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. bufsize: Define in the one location.

    authored
    vtltape used private location, vtllibrary used lu struct.
    
    Both now use private location.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 21, 2011
  1. spc: log subpage code in spc_mode_sense()

    Sebastian Herbszt authored committed
    Log subpage code in spc_mode_sense().
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. log page: Log more info onto one line

    authored
    Reduce two lines per log page into one.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 17, 2011
  1. Update HP personality module.

    authored
    - Rename 'add_mode_control_extension' to 'add_mode_control'
    - Added a 'add_mode_control_extension' for lto4 & lto5 drives
    - Added VPD page 0x86 to HP personality module
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 16, 2011
  1. MODE SENSE: Re-work so MEDIUM TYPE field is updated

    authored
    IBM drives update the MEDIUM TYPE field in mode sense header
    depending on the mounted media.
    
    Doco found for other drive manufactures all set the field to 0
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Attempt to bring HP LTO & IBM LTO personality module closer

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Re-order code so it compiles cleanly without MHVTL_DEBUG

    authored
    A sprinkling of #ifdef MHVTL_DEBUG/#endif
    But other than that it was a re-ordering of code.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Cleanup logging, part 2.

    authored
    Missed removing useless log entry first time around.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 15, 2011
  1. Rename media_type_lookup() to check_media_can_load()

    authored
    The 'media_type_lookup()' was confusing as there is also
    a routine called lookup_media_type() which is quite different
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Add density for QUANTUM DLT-S4

    authored
    As defined in DLT-S4 Interface Reference Guide - Table 65 MODE SELECT
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Set early_warning values before init of personality module.

    authored
    init() within PM needs values before they were being set.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. vtltape: don't zero early_warning_sz and prog_early_warning_sz on tap…

    Sebastian Herbszt authored committed
    …e load
    
    Don't zero early_warning_sz and prog_early_warning_sz on tape load.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 14, 2011
  1. Cleanup logging.

    authored
    Various log entries changed from MHVTL_LOG to MHVTL_DBG(x,
    
    This will reduce the syslog noise generated by daemons.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 12, 2011
  1. Revert "Default 'programable early warning' to 'early warning' size"

    authored
    Not all drives handle PEWZ. Reverting for better fix.
    
    This reverts commit df473f0.
  2. vtltape: add ULTRIUM-TDx drives

    Sebastian Herbszt authored committed
    Add ULTRIUM-TDx drives.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. fix programmable early warning

    Sebastian Herbszt authored committed
    Fix programmable early warning.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 11, 2011
  1. mhvtl.spec: Update for the 1.0.1 release

    authored
    - Added mode page 25h (vendor specific) for IBM LTO3/4/5
      This allows the Windows IBM Tape Driver to load correctly (connected via
      iSCSI)
    - Attempt to correct file permission/ownership when media is created manually
    - A HUP signal to the vtllibrary daemon will cause it to re-read its config
      from the /etc/mhvtl/library_contents.XX file. (So you can change the slot
      config without having to re-start the daemon).
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. MODE PAGE: Add IBM Ultrium mode page 25h for LTO3/4/5

    authored
    The IBM Windows LTO drivers don't seem to load unless
    it can find this mode page.
    I can't find it referenced in the IBM Ultrium doco :(
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Attempt to set correct ownership of media files on creation.

    authored
    Attempt to chown() / chmod() of virtual media files at time
    of creation. Helps prevent silly mistakes when usr manually
    runs mktape as root and forgets to re-set file permission/ownership.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 9, 2011
  1. vtllibrary: Re-reading config file on SIGHUP

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Remove execute bits on make_vtl_media.in

    authored
    Source files shouldn't be executable.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 7, 2011
  1. Update man pages for 1.0

    authored Mark Harvey committed
    Note: The man pages are still bare-bones and could do with some love.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. remove 'media load' rules from device.conf(5)

    Sebastian Herbszt authored Mark Harvey committed
    Remove 'media load' rules from device.conf(5).
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. kernel module: remove not used num_tgts module parameter and sysfs at…

    Sebastian Herbszt authored Mark Harvey committed
    …tribute
    
    Remove not used num_tgts module parameter and sysfs attribute. Also remove no
    longer needed vtl_max_tgts_luns().
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. kernel module: remove not used max_luns module parameter and sysfs at…

    Sebastian Herbszt authored Mark Harvey committed
    …tribute
    
    Remove not used max_luns module parameter and sysfs attribute.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 4, 2011
  1. mhvtl.spec: Update for the 1.0.0 release

    authored
    - Re-worked MODE SENSE/SELECT data structures into a linked list.
    - Re-worked LOG SENSE/SELECT data structures into a linked list.
    - Added support for sub-page MODE information.
    - Added STK 9x40 drive emulations.
    - Removed dead code from kernel driver.
    - Add working REPORT DENSITY support to the SSC.
      This change required the personality modules to define the list of supported
      densities. The media density is defined at 'mktape' time.
      Hence, the optional 'media load' rules in device.conf are now redundent
      and not used.
      BUT: The option to load any media into any drive is also gone.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. SSC: Rework report density op code

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Fix WRITE_6 / READ_6 logging at level 1

    authored
    Level 1 logging should only log every 50th sequential read/write.
    
    Incorrectly using two different variables and hence logic was faulty.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Something went wrong with that request. Please try again.