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

From: Jens Axboe (axboe@suse.de)
Date: Thu Aug 24 2000 - 17:03:15 EST


On Thu, Aug 24 2000, Linus Torvalds wrote:
> > Heh, but it's not that simple. The requests that are currently on
> > the pending list, are not necessarily added to the same freelist. So
> > we have to scan the pending list, and look at each request individually.
>
> Why not just have a pending list for each free list, no?

Okay, here's a new version. The pending list always contains requests
from the write list, so we can use list_splice. We batch a quarter
the size freelist, i.e. half the size of the write list -- whether
that is a good number, I don't know. I suspect it should be less
than that.

-- 
* Jens Axboe <axboe@suse.de>
* SuSE Labs


- 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:14 EST