Permalink
Commits on Jan 10, 2011
  1. mhvtl.spec: Update for 0.18-13

    Contains extra fix for READ ELEMENT STATUS
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 8, 2011
Commits on Jan 6, 2011
  1. mhvtl.spec: Update for 0.18-13beta1

    Got a guinea pig to test the READ ELEMENT STATUS changes..
    BakBone NetVault not working with it.. Hopefully this will resolve the issue.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 6, 2011
  2. smc: Update media type comment in src..

            Ref: smc3r12 - Table 28
            * 0 - empty,
            * 1 - data,
            * 2 cleaning tape,
            * 3 Cleaning,
            * 4 WORM,
            * 5 Microcode image medium
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 5, 2011
  3. SMC: read_element_status - don't return more than alloc_len data

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 5, 2011
  4. READ ELEMENT STATUS: Failing to return correct data

    Returning incorrect number of elements if initiator allocated
    buffer is not large enough to hold complete list.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 15, 2010
  5. LOG pages: byte-swap READ & WRITE byte count

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Jan 4, 2011
  6. vtltape: Return ILLEGAL REQUEST on unsupported OP code

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 21, 2010
  7. Increase SENSE buffer size to 96 bytes

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 16, 2010
  8. Density code update:

    Add IBM 3592 density codes for ENCRYPTION capable media
    Add QIC density 0x11
    Correct DDS density codes
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 21, 2010
  9. Add SDLT320 media density code

    Reference: bptm log
     <2> io_write_media_header: report_density, 0x49 [QUANTUM SDLT320]
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed with Dec 16, 2010
Commits on Nov 16, 2010
  1. mhvtl.spec: Update for 0.18-12 release

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 5, 2010
  2. vtltape: Remove redundant INQURY log message

    Was logging 'INQUIRY' message twice.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 16, 2010
  3. dump_tape: Correct usage message.

     Using program name from 'argv[0]' instead of hardcoded name
     which was incorrect anyway.
    
    Reported-by: Albert Pauw <albert.pauw@gmail.com>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 13, 2010
Commits on Nov 11, 2010
  1. mktape: Update to understand DDS media types

    Also added/cleaned up AIT range.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 11, 2010
  2. Added more medium density codes.

    Need to find correct values for DDS media
    Added AIT1/2/3
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 11, 2010
Commits on Nov 10, 2010
  1. SPIN/SPOUT: Limit to LTO4/5, 3592E05/6 and T10K

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 10, 2010
Commits on Nov 9, 2010
  1. segfault within smc_read_element_status

    No core file generated.
    Since adding debug printf's, no more segfault ??
    Leaving in just in case.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 9, 2010
  2. request sense: Fix return data size calculation

    request sense was only returning 8 bytes.
    Updated to complete 38 bytes of sense data
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 9, 2010
Commits on Nov 3, 2010
  1. Correct casting to silence compile time warning

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 3, 2010
  2. rc script: Make more robust on starting up

    Fixed problem where a 'vi vtltape' or 'vi vtllibrary'
    would result in the earlier test think the daemons were
    running.
    
    Inspired by email from Andreas Piesk <a.piesk@gmx.net>
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 3, 2010
  3. Set size of data returned by request_sense

    Signed-off-by: Andreas Piesk <a.piesk@gmx.net>
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 3, 2010
  4. configCompressionFactor should be unsigned char

    Changed configCompressionFactor from int to uint8_t
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 3, 2010
Commits on Nov 2, 2010
  1. readBlock: Implement SILI flag

    Supress Illegal Length Indication if ILI bit is set
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 2, 2010
  2. blockRead: Use macro 'min(x,y)' to simplify

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 2, 2010
  3. blockRead: Code simplification

    Replace three if statements with one case statement
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 2, 2010
  4. SPACE: Test for zero before attempting to reposition

    Reported and fix supplied by 'dcharnley' via
    http://mhvtl-linux-virtual-tape-library-community-forums.966029.n3.nabble.com/File-Spacing-issue-td1824928.html#a1824928
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Nov 2, 2010
Commits on Oct 25, 2010
  1. spc_mode_sense() Fix comment for return value

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 25, 2010
Commits on Oct 24, 2010
  1. Correct LTO5 media density

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 24, 2010
Commits on Oct 21, 2010
  1. READ_6: Update Fixed block read log msg.

    Removed 'Under development' string from log msg
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 21, 2010
  2. Fix smc.c comment

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 21, 2010
  3. Add 'ssc.c' - ALLOW_OVERWRITE SCSI OP code

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 20, 2010
Commits on Oct 20, 2010
  1. scsi.h: Add ALLOW_OVERWRITE define

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 20, 2010
  2. vtltape: Remove unused function.

    Not sure what I had in mind for this function.
    Removed.
    
    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 20, 2010
Commits on Oct 15, 2010
  1. Simplify make_vtl_media using bash functions

    Signed-off-by: Mark Harvey <markh794@gmail.com>
    committed Oct 15, 2010