Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-11-07 Thread Christoph Hellwig
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 devic

RE: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-11-06 Thread Yang, Bo
, Bo Sent: Wednesday, October 31, 2007 10:14 AM To: Christoph Hellwig Cc: linux-scsi@vger.kernel.org; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; Patro, Sumant; Kolli, Neela Subject: RE: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun Christoph, Here are

Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-10-30 Thread Christoph Hellwig
On Mon, Oct 01, 2007 at 11:51:48AM -0400, bo yang wrote: > +/* > + * Number of sectors per IO command will be set in megasas_init_mfi > + * if user does not provide > + */ > +static unsigned int max_sectors; > +module_param_named(max_sectors, max_sectors, int, 0); > +MODULE_PARM_DESC(max_sectors, >

Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-10-03 Thread Randy Dunlap
On Mon, 01 Oct 2007 11:51:48 -0400 bo yang wrote: > Adding module parameters to configure max sectors per request & # of cmds per > lun. > > Signed-off-by: Bo Yang <[EMAIL PROTECTED]> > > --- > drivers/scsi/megaraid/megaraid_sas.c | 68 - > drivers/scsi/megaraid/megar

Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-10-01 Thread Brian King
]; Patro, Sumant > *Subject:* Re: [PATCH 3/8] scsi: megaraid_sas - add module param > max_sectors, cmd_per_lun > > bo yang wrote: > >> +static ssize_t >> +sysfs_max_sectors_read(struct kobject *kobj, >> + struct bin_attribute *bin_attr, >&g

Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-09-28 Thread Brian King
bo yang wrote: > +static ssize_t > +sysfs_max_sectors_read(struct kobject *kobj, > + struct bin_attribute *bin_attr, > + char *buf, loff_t off, size_t count) > +{ > + struct Scsi_Host *host = class_to_shost(container_of(kobj, > +

Re: [PATCH 3/8] scsi: megaraid_sas - add module param max_sectors, cmd_per_lun

2007-09-28 Thread Randy Dunlap
On Wed, 26 Sep 2007 11:27:50 -0400 bo yang wrote: > Adding module parameters to configure max sectors per request & # of cmds per > lun. > > Signed-off-by: Bo Yang <[EMAIL PROTECTED]> > > --- > drivers/scsi/megaraid/megaraid_sas.c | 94 - > drivers/scsi/megaraid/megar