From 1fbf78de915b5ef0ecbb61adaf1362a00648d8ee Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Tue, 31 Jan 2006 09:46:48 -0800 Subject: [PATCH] start new review cycle (scsi leak fix) --- ...scsi-turn-off-ordered-flush-barriers.patch | 47 +++++++++++++++++++ review/series | 1 + 2 files changed, 48 insertions(+) create mode 100644 review/scsi-turn-off-ordered-flush-barriers.patch create mode 100644 review/series diff --git a/review/scsi-turn-off-ordered-flush-barriers.patch b/review/scsi-turn-off-ordered-flush-barriers.patch new file mode 100644 index 00000000000..a58d65ec88b --- /dev/null +++ b/review/scsi-turn-off-ordered-flush-barriers.patch @@ -0,0 +1,47 @@ +From axboe@kernel.dk Mon Jan 30 05:47:34 2006 +Date: Sun, 29 Jan 2006 20:57:33 +0100 +From: Jens Axboe +To: James Bottomley +Cc: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= , + Nix , Ariel , + Jamie Heilman , + Chase Venters , + Arjan van de Ven , + 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 + +--- 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-- + diff --git a/review/series b/review/series new file mode 100644 index 00000000000..f1b6dd89a2d --- /dev/null +++ b/review/series @@ -0,0 +1 @@ +scsi-turn-off-ordered-flush-barriers.patch -- 2.47.3