From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752986Ab1JZVU4 (ORCPT ); Wed, 26 Oct 2011 17:20:56 -0400 Received: from g6t0186.atlanta.hp.com ([15.193.32.63]:27376 "EHLO g6t0186.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751951Ab1JZVUy (ORCPT ); Wed, 26 Oct 2011 17:20:54 -0400 Subject: [PATCH 1/5] hpsa: set max sectors instead of taking the default To: james.bottomley@hansenpartnership.com From: "Stephen M. Cameron" Cc: stephenmcameron@gmail.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, mikem@beardog.cce.hp.com Date: Wed, 26 Oct 2011 16:20:53 -0500 Message-ID: <20111026212053.15570.27048.stgit@beardog.cce.hp.com> In-Reply-To: <20111026212006.15570.26229.stgit@beardog.cce.hp.com> References: <20111026212006.15570.26229.stgit@beardog.cce.hp.com> User-Agent: StGit/0.15 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stephen M. Cameron Set the max hardware sectors in the SCSI host template to 8192 to allow for larger i/o's (8192 is the same limit the cciss driver currently has.) Signed-off-by: Stephen M. Cameron --- drivers/scsi/hpsa.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index b200b73..9b12aea 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -484,6 +484,7 @@ static struct scsi_host_template hpsa_driver_template = { #endif .sdev_attrs = hpsa_sdev_attrs, .shost_attrs = hpsa_shost_attrs, + .max_sectors = 8192, };