[SCSI] st: add MTWEOFI to write filemarks without flushing drive buffer
authorKai Makisara <Kai.Makisara@kolumbus.fi>
Fri, 8 Oct 2010 21:17:56 +0000 (00:17 +0300)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 8 Oct 2010 22:16:22 +0000 (17:16 -0500)
commit3e51d3c924aea8a1f1372e6c615b0a37b528121d
tree16cdd955fc95e4e1ca28faaac6524e51e0c271d4
parent56dd2c0691a5a387b7b05835fe547dc6fade9407
[SCSI] st: add MTWEOFI to write filemarks without flushing drive buffer

This patch adds a new MTIOCTOP operation MTWEOFI that writes filemarks with
immediate bit set. This means that the drive does not flush its buffer and the
next file can be started immediately. This speeds up writing in applications
that have to write multiple small files.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Documentation/scsi/st.txt
drivers/scsi/st.c
include/linux/mtio.h