]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit03a5743a12b58e10eaa936a02498539db645ba4e
treedd3d80da57e3efd26a60f4d369224b41b7008947
parent66dbfbe6fde35c881deda5cebb6ecaa0dcc1c975
[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