Permalink
Commits on Sep 4, 2011
  1. mhvtl.spec: Update for the 1.0.0 release

    - 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>
    committed Sep 1, 2011
  2. SSC: Rework report density op code

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 24, 2011
  3. Fix WRITE_6 / READ_6 logging at level 1

    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>
    committed Sep 3, 2011
  4. vtlcart: Update coding style in rewrite_meta_file().

    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>
    committed Sep 1, 2011
Commits on Aug 28, 2011
  1. vtltape: change 'early write' to 'early warning'

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

    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)>
    Sebastian Herbszt committed with Mark Harvey Aug 28, 2011
Commits on Aug 24, 2011
  1. dump_tape: report remaining capacity

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 24, 2011
  2. Default 'programable early warning' to 'early warning' size

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 23, 2011
  3. Add STK 9x40 drive personality module.

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

    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>
    committed Aug 3, 2011
  5. Add MODE page: Device Configuration Extension.

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

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

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

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

    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>
    committed Aug 16, 2011
Commits on Aug 23, 2011
  1. use defines instead of magic numbers

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

    …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>
    Sebastian Herbszt committed with Aug 23, 2011
  3. Fix core dump due to incorrect use of get/put_aligned_be64()

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

    …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>
    Sebastian Herbszt committed with Aug 18, 2011
Commits on Aug 17, 2011
  1. Replace byte-order swap routines with 'safe' vers.

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

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mark Harvey Aug 16, 2011
  3. Support MODE sub-pagecodes

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Mark Harvey Aug 16, 2011
  4. Restructure mode page handling

    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>
    committed with Mark Harvey Aug 12, 2011
Commits on Aug 11, 2011
  1. Rename REPORT_LUN to REPORT_LUNS

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

    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>
    committed Aug 9, 2011
  2. Merge Ultrium & Ultrium-4/5 structures into one.

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 9, 2011
  3. Simplify "grep pattern | awk" into "awk '/patern/' "

    Remove unneeded calls for grep
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Aug 8, 2011
Commits on Aug 8, 2011
  1. kernel module: update version date string

    Update version date string.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 3, 2011
  2. kernel module: remove unused defines

    Remove unused defines.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 3, 2011
  3. kernel module: remove dsense module parameter and sysfs attribute

    Remove dsense module parameter and sysfs attribute.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 3, 2011
  4. kernel module: remove not used every_nth module parameter and sysfs a…

    …ttribute
    
    Remove not used every_nth module parameter and sysfs attribute.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 3, 2011
  5. kernel module: remove not used VTL_OPT_TIMEOUT and VTL_OPT_RECOVERED_…

    …ERR handling
    
    Remove not used VTL_OPT_TIMEOUT and VTL_OPT_RECOVERED_ERR handling.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 3, 2011
  6. kernel module: remove special handling of REQUEST_SENSE

    Remove special handling of REQUEST_SENSE.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 3, 2011
  7. kernel module: remove resp_requests() and resp_becomming_ready()

    Remove resp_requests() and resp_becomming_ready().
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Sebastian Herbszt committed with Aug 3, 2011