lkml.org 
[lkml]   [2000]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: elevator code
On Wed, 13 Sep 2000, Andi Kleen wrote:

>I guess it boils down to that the plugging (run_task(&tq_disc)) is overloaded
>in Linux. It does merging of requests which are the same anyways (=from the
>same operation in upper layers) and merging of requests that are unrelated.

&tq_disk doesn't merge anything. It only tells the driver to start eating
the requests in the queue. The driver will just blindy process them and if
they're big with many bh on them it will do scatter gather with lots of
I/O in one scsi command. If they're small, the driver will produce 4k/1k
sized scsi commands as worse (same for IDE).

At the moment the size of the requests that goes to the hardware enterely
depends upon the merging that we do when we call ll_rw_block.

Andrea
-
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:38    [W:0.053 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site