Re: 3ware queue depth [was: Re: HIGHMEM4G config for 1GB RAM on desktop?]

From: Patrick Mansfield
Date: Wed Sep 01 2004 - 14:57:25 EST


On Wed, Sep 01, 2004 at 11:08:39AM +0000, Miquel van Smoorenburg wrote:

> + /* make sure blockdev queue depth is at least 2 * scsi depth */
> + if (SDptr->request_queue->nr_requests < 2 * max_cmds)
> + SDptr->request_queue->nr_requests = 2 * max_cmds;

Why would you want nr_requests different (and larger) only for this
driver?

Is modifying nr_requests allowed?

-- Patrick Mansfield
-
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/