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

2007-09-14 Thread Christoph Hellwig
On Fri, Sep 14, 2007 at 03:32:16AM -0700, Andrew Morton wrote: > y'know, if some brave soul were to write y'know - some brave sould already did it. > static inline void *scsi_host_data(struct Scsi_Host *host) > { > return (void *)host->hostdata; > } > > we could remove about 1000 u

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

2007-09-14 Thread Andrew Morton
On Tue, 11 Sep 2007 08:34:33 -0400 linux-box <[EMAIL PROTECTED]> wrote: > + struct megasas_instance *instance = > + (struct megasas_instance *)host->hostdata; y'know, if some brave soul were to write static inline void *scsi_host_data(struct Scsi_Host *host) {

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

2007-09-13 Thread linux-box
Adding module parameters to configure max sectors per request & # of cmds for each lun. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- Re-submitting drivers/scsi/megaraid/megaraid_sas.c | 93 - drivers/scsi/megaraid/megaraid_sas.h |2 2 files changed, 93 insertion

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

2007-07-03 Thread bo yang
Adding module parameters to configure max sectors per request & # of cmds for each lun. Signed-off-by: Bo Yang <[EMAIL PROTECTED]> --- drivers/scsi/megaraid/megaraid_sas.c | 87 - drivers/scsi/megaraid/megaraid_sas.h |2 2 files changed, 88 insertions(+), 1 deletion