Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun
- From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
- Date: Wed, 7 Nov 2007 17:42:48 +0000
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Prev by Date: Re: [RFC/PATCH] AVR32: Oprofile support
- Next by Date: [PATCH 0/2] MN10300: Add the MN10300 architecture to Linux kernel [try #3]
- Previous by thread: RE: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun
- Next by thread: Re: [patch 0/4] Add ARCH_SUPPORTS_KPROBES (take 2)
- Index(es):
Relevant Pages
|
Loading