Permalink
Commits on Apr 4, 2012
  1. Fix spelling of Changeable

    s/hangable/hangeable/g
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Apr 4, 2012
  2. mhvtl.spec: Update for 1.2-3_release

    - Fix segfault in AIT4 when attempting to access Security Protocol IN/OUT
    - No need to fail in virtual media parent directory exists
    - Add more descriptive debug messages for log/mode page lookups
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Apr 4, 2012
  3. Simplify lzo compression log message

    The 'Compression Factor' doesn't do anything using 'lzo' hence
    don't log it.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Apr 3, 2012
Commits on Mar 30, 2012
  1. Tidy MODE SELECT log messages a little

    Re-org log messages a little to remove redundency
    and improve readability
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 27, 2012
  2. Fix AIT4 segfault during SPIN/SPOUT

    Added missing function - encryption_capabilities(), instead of null pointer
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 29, 2012
  3. No need to fail creating media if the parent dir exists

    Signed-off-by: mtulnew <mtr@fast.ag>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 23, 2012
  4. Add description string to log page info

    Aim to make reading logs a little more descriptor.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 29, 2012
  5. Add description string to mode page info

    Aim it to make reading logs a little more descriptive.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 22, 2012
Commits on Mar 27, 2012
  1. Only report EARLY WARNING on drives which support it

    Need to also include Report Early Warning bit in mode page
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 21, 2012
Commits on Mar 21, 2012
  1. mhvtl.spec: Update for 1.2-2_release

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 15, 2012
  2. Work on mhvtl-kmod.spec

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 16, 2012
  3. MODE SENSE: Ignore data if SAVE PAGE bit is not set

    Added lots of extra verbose logging as well.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 21, 2012
Commits on Mar 20, 2012
  1. Rename blockDescriptorBlock to modeBlockDescriptor

    A rename to align with t10 defination
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 19, 2012
  2. MODE SELECT 10: Mode Block Descriptor at wrong offset

    Revert bad cut/paste..
    MODE SELECT 10 'mode block descriptor' should be located at
    offset 8 not 4.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 19, 2012
Commits on Mar 16, 2012
  1. Remove dead code from vtlcart

    I started off with an idea to compress the metadata..
    This should never have seen light of day.
    
    Looking at the structure of metadata usage, this would be
    a huge performance hit walking thru the metadata to find the correct
    header.. I've scraped the idea (for now).
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 16, 2012
  2. Update README file with current date stamps/versioning

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 15, 2012
  3. Update ebuild to reflect lzo dependency

    Note: These changes are untested
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 15, 2012
  4. Update Makefile to reflect Gentoo build rename

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 15, 2012
  5. Rename Gentoo package build script to suit 1.2 release

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 15, 2012
  6. Protection against overflows.

    Signed-off-by: Markus Tulner <Markus.Tulner@gast-lta.de>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 15, 2012
Commits on Mar 15, 2012
  1. Update DATA COMPRESSION MODE PAGE changeable bitmap

    DCE, DCC, DDE & Compression/Decompression fields are changeable.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 15, 2012
  2. ALLOW OVERWRITE: Check for valid partition number

    Partitions not implemented at this point. Return error if partition
    number is non-zero.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 15, 2012
  3. Reflect WriteProtect status in mode sense data

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 14, 2012
  4. MODE: DEVICE CONFIGURATION - Set compression bitmap

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 9, 2012
  5. Add MODE SENSE (changable data) bit map support

    Well, only a couple of pages. Need to complete rest of data.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 14, 2012
  6. link against libpthreads instead of librt.

    Latest versions of Ubuntu/Mint don't seem to have the sem*()
    routines in librt.so
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Feb 24, 2012
  7. Update mode select for APPEND ONLY mode

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Feb 29, 2012
Commits on Mar 14, 2012
  1. Removed 'REPORT DENSITY' item from my todo list.

    In fact, I'd forgotten about this list. Been fixed for a while now.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 2, 2012
Commits on Mar 13, 2012
  1. Comment out 'fifo: ' entries in default device.conf

    Previous patch (a892fa120dbe6a3f66fdc93fdd09f8bfc3c580b5) only commented
    the library daemon. This takes care of the tape drives as well.
    
    Reported-by: NIA
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 13, 2012
Commits on Mar 12, 2012
  1. fifo: Writing to fifo will block once fifo is 'full'

    This causes the vtltape/vtllibrary daemon to block until it's able
    to write to fifo. The linux mid-layer by this time will have disabled
    the device.
    Defaults now do not enable this feature.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Mar 12, 2012
Commits on Mar 6, 2012
Commits on Mar 2, 2012
  1. ssc: mode select: Replace values with define 'text'

    Make code (slightly) more readable..
    
    Who wrote this code... Oh, thats right, I did :(
    
    About to re-do the MODE SELECT OPCODE anyway to support LTO-5 ALLOW OVERWRITE
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Feb 29, 2012
  2. Log reason for media load failure if media not defined

    Add log entry if media type not found when attempting to load.
    
    Reported-by: mtulner <mtr@fast.ag>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Feb 28, 2012
  3. Fix for segfault if user doesn't exist

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    Patrick Dowling committed with Feb 21, 2012
  4. Fix return code from rewriteMAM

    Reported-by: mtulner <mtr@fast.ag>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Feb 28, 2012