diff options
author | Kai Makisara <[email protected]> | 2016-02-09 21:56:55 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2016-02-23 21:27:02 -0500 |
commit | 8038e6456a3e6f5c4759e0d73c4f9165b90c93e7 (patch) | |
tree | 9fca83ced56fbea6c1a6c618150e540c785e0e43 /drivers/scsi/mpt3sas/mpi/mpi2_tool.h | |
parent | ea1c928bb6051ec4ccf24826898aa2361eaa71e5 (diff) |
st: Fix MTMKPART to work with newer drives
Change the MTMKPART operation of the MTIOCTOP ioctl so that it works
also with current drives (LTO-5/6, etc.). Send a separate FORMAT MEDIUM
command if the partition mode page indicates that this is required. Use
LOAD to position the tape at the beginning of tape.
The operation is extended so that if the argument is negative, its
absolute value specifies the size of partition 0, which is the
physically first partition of the tape.
Signed-off-by: Kai Mäkisara <[email protected]>
Tested-by: Shane M Seymour <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Tested-by: Douglas Gilbert <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_tool.h')
0 files changed, 0 insertions, 0 deletions