[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1156958383.7701.2.camel@mulgrave.il.steeleye.com>
Date: Wed, 30 Aug 2006 13:19:43 -0400
From: James Bottomley <James.Bottomley@...elEye.com>
To: "Darrick J. Wong" <djwong@...ibm.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-scsi@...r.kernel.org, Alexis Bruemmer <alexisb@...ibm.com>,
Mike Anderson <andmike@...ibm.com>,
Konrad Rzeszutek <konrad@...nok.org>
Subject: Re: [PATCH] aic94xx: Increase can_queue and cmds_per_lun
On Mon, 2006-08-28 at 22:23 -0700, Darrick J. Wong wrote:
> - .cmd_per_lun = 1,
> + .cmd_per_lun = 2,
This is an old piece of code. Today we use 1 for the cmd_per_lun of
non-TCQ devices.
> + aic94xx_sht.can_queue = asd_ha->hw_prof.max_scbs - ASD_FREE_SCBS;
This is unnecessary unless you alter it before host alloc (which is
where it takes the shost values from the template).
Also, I think if you look at the rest of the driver, it's careful to
account for the need for required scbs in its internal queueing
algorithms, so the ASD_FREE_SCBS should be unnecessary.
> + shost->can_queue = aic94xx_sht.can_queue;
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists