Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161027AbWBHGrs (ORCPT ); Wed, 8 Feb 2006 01:47:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161028AbWBHGrX (ORCPT ); Wed, 8 Feb 2006 01:47:23 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:46979 "EHLO sorel.sous-sol.org") by vger.kernel.org with ESMTP id S1161020AbWBHGnI (ORCPT ); Wed, 8 Feb 2006 01:43:08 -0500 Message-Id: <20060208064843.927207000@sorel.sous-sol.org> References: <20060208064503.924238000@sorel.sous-sol.org> Date: Tue, 07 Feb 2006 22:45:04 -0800 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org, James Bottomley Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , torvalds@osdl.org, akpm@osdl.org, alan@lxorguk.ukuu.org.uk, Jens Axboe , Pasi , Nix , Ariel , Jamie Heilman , Chase Venters , Arjan van de Ven , linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [PATCH 01/23] SCSI: turn off ordered flush barriers Content-Disposition: inline; filename=scsi-turn-off-ordered-flush-barriers.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1209 Lines: 36 -stable review patch. If anyone has any objections, please let us know. ------------------ 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 --- drivers/scsi/scsi_lib.c | 5 ----- 1 files changed, 5 deletions(-) Index: linux-2.6.15.3/drivers/scsi/scsi_lib.c =================================================================== --- linux-2.6.15.3.orig/drivers/scsi/scsi_lib.c +++ linux-2.6.15.3/drivers/scsi/scsi_lib.c @@ -1534,11 +1534,6 @@ struct request_queue *scsi_alloc_queue(s */ 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); -- - 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/