Re: SCSI driver for VMware's virtual HBA - V5.

From: Chris Wright
Date: Tue Oct 13 2009 - 18:03:09 EST


* Alok Kataria (akataria@xxxxxxxxxx) wrote:
> On Mon, 2009-10-12 at 22:37 -0700, Chris Wright wrote:
> > > + pvscsi_template.can_queue =
> > > + min(PVSCSI_MAX_NUM_PAGES_REQ_RING, pvscsi_ring_pages) *
> > > + PVSCSI_MAX_NUM_REQ_ENTRIES_PER_PAGE;
> > > + pvscsi_template.cmd_per_lun =
> > > + min(pvscsi_template.can_queue, pvscsi_cmd_per_lun);
> >
> > When/how are these tunables used? Are they still useful?
>
> cmd_per_lun, is a commandline parameter.

Actually I meant how is a user supposed to use these? They looked to me
like tunables that were part of developing a driver that may not be
needed any longer. What are the right values, what are the tradeoffs,
etc? Or should they just be removed?

thanks,
-chris
--
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/