]> git.baikalelectronics.ru Git - kernel.git/commit
libata: flush is an IO command
authorTejun Heo <htejun@gmail.com>
Fri, 26 Oct 2007 06:53:59 +0000 (15:53 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 30 Oct 2007 13:59:42 +0000 (09:59 -0400)
commit4ba66fe8875e0658eb4b076aa23aa8097158cc53
treec1636d741569fd9fcf39557e36210226e9d5d860
parent04d54ab2a34156a16f3ac4752b14171088ca2639
libata: flush is an IO command

ATA_QCFLAG_IO is used to mark commands which are used to perform
regluar IO transfers via block layer.  These commands are assumed to
be valid and taken more seriously during error handling.  Cache flush
is used by regular IO path and necessary for data integrity.  Mark it
with ATA_QCFLAG_IO.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c