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

From: Giuliano Pochini (
Date: Wed Aug 30 2000 - 20:45:16 EST

> I have two comments about this patch. (the reqfree-batching-3)
> First. Couldn't it end up indefinitely starving a writer?
> Assume the free_list is empty [...]

I think that can also happen in 2.2.x and plain 2.4-test7.

I have a question. There is a rq queue for eache device, right ? Well, why
when I flood the queue of the removable also write accesses to my harddisc
get starved ? A simple "cp 100KBfile foobar" from HD to HD can stay
blocked in D state for 10's seconds even with a lot of free mem.
Perhaps because the queue spinlock is global ? m, no I can't see a code
path that holds the lock for a lot of time...
The HD and the removable are attached to two different SCSI controllers (2
Adaptec 2930U).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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