forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (84 commits) [SCSI] be2iscsi: SGE Len == 64K [SCSI] be2iscsi: Remove premature free of cid [SCSI] be2iscsi: More time for FW [SCSI] libsas: fix bug for vacant phy [SCSI] sd: Fix overflow with big physical blocks [SCSI] st: add MTWEOFI to write filemarks without flushing drive buffer [SCSI] libsas: Don't issue commands to devices that have been hot-removed [SCSI] megaraid_sas: Add Online Controller Reset to MegaRAID SAS drive [SCSI] lpfc 8.3.17: Update lpfc driver version to 8.3.17 [SCSI] lpfc 8.3.17: Replace function reset methodology [SCSI] lpfc 8.3.17: SCSI fixes [SCSI] lpfc 8.3.17: BSG fixes [SCSI] lpfc 8.3.17: SLI Additions and Fixes [SCSI] lpfc 8.3.17: Code Cleanup and Locking fixes [SCSI] zfcp: Remove scsi_cmnd->serial_number from debug traces [SCSI] ipr: fix array error logging [SCSI] aha152x: enable PCMCIA on 64bit [SCSI] scsi_dh_alua: Handle all states correctly [SCSI] cxgb4i: connection and ddp setting update [SCSI] cxgb3i: fixed connection over vlan ...
- Loading branch information
Showing
306 changed files
with
39,146 additions
and
44,940 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ This file contains brief information about the SCSI tape driver. | |
The driver is currently maintained by Kai Mäkisara (email | ||
[email protected]) | ||
|
||
Last modified: Sun Feb 24 21:59:07 2008 by kai.makisara | ||
Last modified: Sun Aug 29 18:25:47 2010 by kai.makisara | ||
|
||
|
||
BASICS | ||
|
@@ -85,6 +85,17 @@ writing and the last operation has been a write. Two filemarks can be | |
optionally written. In both cases end of data is signified by | ||
returning zero bytes for two consecutive reads. | ||
|
||
Writing filemarks without the immediate bit set in the SCSI command block acts | ||
as a synchronization point, i.e., all remaining data form the drive buffers is | ||
written to tape before the command returns. This makes sure that write errors | ||
are caught at that point, but this takes time. In some applications, several | ||
consecutive files must be written fast. The MTWEOFI operation can be used to | ||
write the filemarks without flushing the drive buffer. Writing filemark at | ||
close() is always flushing the drive buffers. However, if the previous | ||
operation is MTWEOFI, close() does not write a filemark. This can be used if | ||
the program wants to close/open the tape device between files and wants to | ||
skip waiting. | ||
|
||
If rewind, offline, bsf, or seek is done and previous tape operation was | ||
write, a filemark is written before moving tape. | ||
|
||
|
@@ -301,6 +312,8 @@ MTBSR Space backward over count records. | |
MTFSS Space forward over count setmarks. | ||
MTBSS Space backward over count setmarks. | ||
MTWEOF Write count filemarks. | ||
MTWEOFI Write count filemarks with immediate bit set (i.e., does not | ||
wait until data is on tape) | ||
MTWSM Write count setmarks. | ||
MTREW Rewind tape. | ||
MTOFFL Set device off line (often rewind plus eject). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.