[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071107174248.GE25560@infradead.org>
Date: Wed, 7 Nov 2007 17:42:48 +0000
From: Christoph Hellwig <hch@...radead.org>
To: "Yang, Bo" <Bo.Yang@....com>
Cc: Christoph Hellwig <hch@...radead.org>, linux-scsi@...r.kernel.org,
James.Bottomley@...elEye.com, akpm@...l.org,
linux-kernel@...r.kernel.org,
"Patro, Sumant" <Sumant.Patro@....com>
Subject: Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun
On Tue, Nov 06, 2007 at 12:06:39PM -0700, Yang, Bo wrote:
> The fast_load parameter is for the user to decide at driver load time if
> (s)he wants to skip scan of devices in PD channels.
> After driver is loaded the user cannot be permitted to modify this
> value. If the user needs to see the devices in the PD channels, (s)he
> may initiate a scan via sysfs/proc based on the kernel being used. Once
> the user has done the scan, the fast_load value does not have any
> significance and thus not exposed for reading.
The issue here is that this should really be a per-hba setting, and
as HBAs can appear anytime due to PCI hotplug a module paramater is not
enough. Then again I still don't see why we need to spend so much effort
on this as you could trivially just fail the PD scanning commands in the
firmware without messing up the driver.
> cmd_per_lun & max_sectors are also intended to be provided by user only
> at driver load time. In the current implementation both these do appear
> as read-only values under host# in sysfs. The current design is not to
> allow these values to be modified on the fly.
Same argument here about beeing per-hba. And they really should be changeable
at runtime at least for hbas that don't have commands in flight.
-
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