Re: ll_rw_blk.c fails to merge requests. Help!

From: Giuliano Pochini (pochini@denise.shiny.it)
Date: Tue Aug 29 2000 - 20:27:24 EST


> reqfree-batching-3Name: reqfree-batching-3
> Type: Plain Text (text/plain)

This one works even better.

+ list_add(&req->table, &q->pending_freelist);
+ if (++q->pending_free > 64) {
                                       ^^^^^

I think a fraction of QUEUE_NR_REQUESTS should be better than a fixed
quantity.

Bye.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:24 EST