--- /dev/null
+From axboe@kernel.dk Mon Jan 30 05:47:34 2006
+Date: Sun, 29 Jan 2006 20:57:33 +0100
+From: Jens Axboe <axboe@suse.de>
+To: James Bottomley <James.Bottomley@SteelEye.com>
+Cc: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= <pasik@iki.fi>,
+ Nix <nix@esperi.org.uk>, Ariel <askernel2615@dsgml.com>,
+ Jamie Heilman <jamie@audible.transient.net>,
+ Chase Venters <chase.venters@clientec.com>,
+ Arjan van de Ven <arjan@infradead.org>,
+ linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
+ linux-scsi@vger.kernel.org
+Subject: SCSI: turn off ordered flush barriers
+Message-ID: <20060129195733.GH13831@suse.de>
+Content-Disposition: inline
+
+Turn off ordered flush barriers for SCSI driver, since the SCSI barrier
+code has a command leak.
+
+Signed-off-by: Jens Axboe <axboe@suse.de>
+
+--- linux-2.6.15.1/drivers/scsi/scsi_lib.c~ 2006-01-29 11:55:08.000000000 -0800
++++ linux-2.6.15.1/drivers/scsi/scsi_lib.c 2006-01-29 11:55:38.000000000 -0800
+@@ -1534,11 +1534,6 @@
+ */
+ 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);
+
+--
+Jens Axboe
+
+-
+To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
+the body of a message to majordomo@vger.kernel.org
+More majordomo info at http://vger.kernel.org/majordomo-info.html
+Please read the FAQ at http://www.tux.org/lkml/
+
+
+--t0UkRYy7tHLRMCai--
+