lkml.org 
[lkml]   [2000]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: request queue
On Friday August 18, pochini@denise.shiny.it wrote:
>
> Where is defined the max length of the ll_rw_block request queue ?

Are we talking 2.4 here?

blk_init_queue calls blk_init_free_list which allocates
QUEUE_NR_REQUESTS for use in the queue.
half for read requests, half for write request or read requests.

blkdev.h defines QUEUE_NR_REQUESTS to be 256.

> Why when the list is filled up ll_rw_block.c fails to coalesce new
> requests to old ones ??

How do you mean? If there are any options for coalescence, then the
coalescing will be done before it even notices that the queue is full.

NeilBrown

>
> Bye.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.redhat.com
> Please read the FAQ at http://www.tux.org/lkml/
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:37    [W:0.021 / U:1.624 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site