Skip to content
Commits on Jan 31, 2013
  1. mhvtl.spec: Update for 1.4-6_release

    committed
    Fix segfault in vtltape -> position_blocks_back()
    Fix TAPE CAPACITY log page info
    
    New utility 'edit_tape' to update virtual media 'metadata'
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Update spec file for new 'edit_tape' utilities

    committed
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Install new man page for 'edit_tape'

    committed
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jan 28, 2013
  1. Update date stamp on man pages to January 2013

    committed
    I need to set aside time to re-read man pages to make sure they
    are still all valid.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. man page for edit_tape utility

    committed
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Reduce duplicate code setting media info

    committed
    Routine common with mktape & edit_tape.
    Use one function in vtllib.c - set_media_params()
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. New utility 'edit_tape'

    committed
    Ability to edit meta data of virtual media.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jan 27, 2013
  1. Merge pull request #2 from casualfish/fixbugs

    committed
    fix wrong for-loop calculation in position_blocks_back
Commits on Jan 26, 2013
  1. @casualfish

    fix wrong for-loop calculation in position_blocks_back

    casualfish committed
    Fix wrong for-loop calculation in position_blocks_back
    which will cause vtltape process to crash.
Commits on Jan 17, 2013
  1. Fix overflow in TAPE CAPACITY log

    jean-michel Drean committed with
    Tape Capacity information is a 32 bit field
    
    Signed-off-by: jean-michel Drean <jean-michel.drean@active-circle.com>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Return correct log page for TAPE CAPACITY

    jean-michel Drean committed with
    Signed-off-by: jean-michel Drean <jean-michel.drean@active-circle.com>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Jan 12, 2013
  1. mhvtl.spec: Update for 1.4-5_release

    committed
    The most important bug fix is an EOM (End of Media) handling on some emulations.
    The symptom was backup software typically failed when spanning media
    (block count was off by one).
    
    Fix returned data from TAPE CAPACITY log page (byte swap issue).
    
    Add LTO-6 emulation.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Fix return data from TAPE CAPACITY log page

    jean-michel Drean committed with
    Byte-swap issue with data returned from TAPE CAPACITY log page.
    
    Signed-off-by: jean-michel Drean <jean-michel.drean@active-circle.com>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Simplify 'remaining capacity' calculation

    committed
    Simplicy calculation of 'remaining capacity' following successful
    writeBlock.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. EOM handling fix

    committed
    Test for EOM before attempting to write block and return error code.
    
    Previous behaviour was wrong in that an extra block of data was being
    written.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Nov 28, 2012
  1. mhvtl.ko: Update date string

    committed
    Changes to mhvtl lld - Update date stamp so I can identify any potental
    problems with the latest changes
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Nov 27, 2012
  1. Initial checkin of LTO-6

    committed
    As LTO-6 are being release, updated 'emulation' with LTO-6 support.
    No changes between LTO5 & LTO6 behaviour. Need to find real LTO-6
    documentation to identify what (if anything) has changed.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Fix up 'Add sparse support' in f61834d

    committed
    Forgot to commit the checkarch.sh script.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. kernel lld: Fix some errors reported by 'sparse' check

    committed
    Use sparse:
    make C=1 CF=-D__CHECK_ENDIAN__
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Use bitfields for on/off values

    committed
    ssc_personality_template -> Use bitfields to store true/false values instead
    of unsigned char.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  5. Initial commit of drive_stats.pl

    committed
    Helper script for NetBackup drive_unmount_notify script.
    
    Parses the output of /usr/openv/volmgr/bin/scsi_command -log_dump
    and extracts the :
     - Number of bytes read/sent to initiator
     - Number of bytes written/read to/from tape
     - hard and soft media error count
    
    Note: This script can be utilised for physical drives who support
    log sense/log select op code
    
    Search for Symantec article: HOWTO80688
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 13, 2012
  1. mhvtl.spec: Updated for 1.4-4_release

    committed
    Note: The 1.4-2 & 1.4-3 releases never made it as released pacakges
    due to build issues
    
    Differences between 1.4-1 & 1.4-4 (2012-08-08 & 2012-09-13)
    - Add 'performance' counters to all op codes. This reports the time spent in
      'usleep()' since last op code.
    - Fix an off-by-one bug in LOG SELECT
    - Implement ability to reset log counter via LOG SELECT & PCR bit
    - Add _GNU_SOURCE define so source can be compiled on old Linux distributions
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Slightly more descriptive message if mhvtl.ko not loaded

    committed
    An FAQ on forum. Hopely make description a little more unstandable.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Silence compiler warning regarding uninitialised var 'month'

    committed
    quantum_dlt_pm.c: In function `init_dlt_inquiry':
    quantum_dlt_pm.c:87: warning: `month' might be used uninitialized in this function
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  4. Fix compile error on older Linux releases

    committed
    Missing define for 'useconds_t' unless _GNU_SOURCE defined
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 12, 2012
  1. mhvtl.spec: Update for 1.4-3_release

    committed
    Fix off-by-one error in LOG SELECT
    Implement log counter reset via PCR bit in LOG SELECT
    Add 'performance' counters to vtllibrary
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 11, 2012
  1. Implement Parameter Code Reset in LOG SELECT

    Victor Kotlyar committed with
    (edited) Message from Victor:
    The mhvtl is missing functionality which CASTOR implements.
    
    "LOG SELECT" with "Parameter Code Reset bit" and "Default cumulative values"
    sg_raw /dev/sg1 4c 2 c0 0 0 0 0 0 0 0
    
    We use this command to clear drive statistics before each file and after we
    get statistics with "LOG SENSE" "Sequential Access Device Log page" so we
    have compression statistics for each file
    
    Signed-off-by: Victor Kotlyar <Victor.Kotlyar@cern.ch>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 10, 2012
  1. LOG SELECT: Fix off-by-one issues

    committed
    Byte comparisons incorrect as PCR (Parameter Code Reset) was off-by-one
    Test for PC (Page Control) was bit-shift left and off-by-one
    
    Reported-by: Victor Kotlyar <Victor.Kotlyar@cern.ch>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. vtllibrary: fix performance counter

    Sebastian Herbszt committed with
    Fix performance counter.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  3. Use PRId64 instead of %ld

    Sebastian Herbszt committed with
    Use PRId64 instead of %ld.
    
    Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Sep 1, 2012
  1. mhvtl.spec: Update for 1.4-2_release

    committed
    Add performance counter to each SCSI op code.
    - Records the total mount of time in usleep() since last op code
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 16, 2012
  1. Add delay value for sum of READ_6/WRITE_6 OP codes

    committed
    Log sum of delay values when logging every '50' entries.
     "50th contiguous [READ_6|WRITE_6] requests (%ld) (delay xx)"
    
    Where xx is the sum of all previous 50 delay intervals.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Commits on Aug 8, 2012
  1. Add 'backoff' value to vtllibrary

    committed
    Tweak default minimum & backoff values
     - Now defined in vtllib.h
    
       define MIN_SLEEP_TIME
       define DEFLT_BACKOFF_VALUE
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
  2. Add a perfmance counter..

    committed
    Add the 'delay' information with CDB log entry
    
    The '(delay xxx)' value is the delay time between previous SCSI OP code and
    this SCSI OP code
    
    Lets see if this is helps improve performance tuning.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
Something went wrong with that request. Please try again.