• Martin K. Petersen's avatar
    [SCSI] scsi_debug: Logical Block Provisioning (SBC3r26) · 5b94e232
    Martin K. Petersen authored
    Update scsi_debug to support the Logical Block Provisioning commands and
    bits as defined in SBC3r26. The old tp* parameters have been
    transitioned to the new lbp* scheme found in the draft standard.
    
    The old tpu option to enable UNMAP is now called lbpu. tpws to signal
    support for WRITE SAME(16) with the UNMAP bit set is now lbpws. Support
    for WRITE SAME(10) with the UNMAP bit set is also available using the
    lpuws10 parameter.
    
    Limiting the maximum number of blocks per WRITE SAME command has been
    implemented and is available via the write_same_length module parameter.
    
    As part of the renaming process the parameter lists have been sorted
    alphabetically (request from Doug).
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    Acked-by: default avatarDouglas Gilbert <dgilbert@interlog.com>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    5b94e232
scsi_debug.c 118 KB