From 3edcc7870d12de93ba5ae1ca5b5d9f43886ac0ea Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sun, 29 Jan 2006 20:57:33 +0100 Subject: [PATCH] SCSI: turn off ordered flush barriers Turn off ordered flush barriers for SCSI driver, since the SCSI barrier code has a command leak. Signed-off-by: Jens Axboe Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- drivers/scsi/scsi_lib.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers') diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index dc249cb970ea..1aa8b40d5626 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -1534,11 +1534,6 @@ struct request_queue *scsi_alloc_queue(struct scsi_device *sdev) */ if (shost->ordered_tag) blk_queue_ordered(q, QUEUE_ORDERED_TAG); - else if (shost->ordered_flush) { - blk_queue_ordered(q, QUEUE_ORDERED_FLUSH); - q->prepare_flush_fn = scsi_prepare_flush_fn; - q->end_flush_fn = scsi_end_flush_fn; - } if (!shost->use_clustering) clear_bit(QUEUE_FLAG_CLUSTER, &q->queue_flags); -- cgit v1.2.3