Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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>
  4. vtlcart: Update coding style in rewrite_meta_file().

    authored
    Added a little extra info to a couple of the error messages.
    No functional change. Still a lot of style differences in this file.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 28, 2011
  1. vtltape: change 'early write' to 'early warning'

    Sebastian Herbszt authored Mark Harvey committed
    Change 'early write' to 'early warning'.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh@l-034246.(none)>
  2. Fix 'programmable early warning detected' ASC/ASCQ

    Sebastian Herbszt authored Mark Harvey committed
    The 'programmable early warning detected' ASC/ASCQ is 00 07.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh@l-034246.(none)>
Commits on Aug 24, 2011
  1. dump_tape: report remaining capacity

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Default 'programable early warning' to 'early warning' size

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Add STK 9x40 drive personality module.

    authored
    Stumbled across the T9x40 interface reference manual
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Add Early Warning to tape emlation.

    authored
    Return correct sense code at Early Warning / End of Media
    
    Still needs lots of work.
     - Ability to set/change programable early warning.
     - Perhaps move early warning / programable early warning into MAM
       so it can be set per tape.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  5. Add MODE page: Device Configuration Extension.

    authored
    Used by at least IBM Ultrium LTO 3/4/5
    Need to check other drive types.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  6. MODE PAGE : Power Condition

    authored
    Extend length of POWER CONDITION MODE PAGE to 0x26
    Reference : IBM Ultrium SCSI Reference (11th edition)
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  7. Add ENCRYPTION MODE PAGE / subpage

    authored
    Found this page well documented in IBM Ultrium SCSI Reference guide
    11th edition.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  8. Makefile: libvtlscsi.so does not depend on ssc.c

    authored
    Remove ssc.c as dependency for libvtlscsi.so build rules
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  9. Restructure LOG SENSE/SELECT data into linked list

    authored
    Need to perform sanity check on which drives support which log page(s)
    and implement per personality module.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 23, 2011
  1. use defines instead of magic numbers

    Sebastian Herbszt authored committed
    Use defines instead of magic numbers.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. spc: check if subpage code is valid for page code 0x3f in spc_mode_se…

    Sebastian Herbszt authored committed
    …nse()
    
    Check if subpage code is valid for page code 0x3f in spc_mode_sense().
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Fix core dump due to incorrect use of get/put_aligned_be64()

    authored
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 18, 2011
  1. vtllibrary: call add_mode_transport_geometry() and add_mode_device_ca…

    Sebastian Herbszt authored committed
    …pabilities()
    
    Call add_mode_transport_geometry() and add_mode_device_capabilities() in
    init_smc_mode_pages().
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 17, 2011
  1. Replace byte-order swap routines with 'safe' vers.

    authored Mark Harvey committed
    The 'get_unaligned_beXX()' do not need CPU word alignment.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Update IBM Ultrium mode page initialisation

    authored Mark Harvey committed
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Support MODE sub-pagecodes

    authored Mark Harvey committed
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Restructure mode page handling

    authored Mark Harvey committed
    Moving mode pages from an array into a linked-list
    
    Main driving factor: To support MODE sub-pagecodes in a
    more efficient fashion.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 11, 2011
  1. Rename REPORT_LUN to REPORT_LUNS

    Sebastian Herbszt authored committed
    Rename REPORT_LUN to REPORT_LUNS.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 9, 2011
  1. Default PRODUCT REV with MHVTL_VERSION

    authored
    Can still be overridden in device.conf.
    Setting no longer set in device.conf for new users however.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Something went wrong with that request. Please try again.