]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] sd: disentangle barriers in SCSI
authorJames Bottomley <James.Bottomley@steeleye.com>
Fri, 3 Aug 2007 21:41:11 +0000 (16:41 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Sat, 4 Aug 2007 13:37:04 +0000 (08:37 -0500)
commit5d80ea80378eb91534b6622e4bc859547c5cefd6
treedd3d80da57e3efd26a60f4d369224b41b7008947
parent548dad8fcf50816610f3f066e16a76df1b66c758
[SCSI] sd: disentangle barriers in SCSI

Our current implementation has a generic set of barrier functions that
go through the SCSI driver model.  Realistically, this is unnecessary,
because the only device that can use barriers (sd) can set the flush
functions up at probe or revalidate time.  This patch pulls the barrier
functions out of the mid layer and scsi driver model and relocates them
directly in sd.

Acked-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c
drivers/scsi/sd.c
include/scsi/scsi_driver.h
include/scsi/sd.h