lkml.org 
[lkml]   [2002]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.4.x write barriers (updated for ext3)
James Bottomley wrote:
[...]
> Unfortunately, there's actually a hole in the SCSI spec that means ordered
> tags are actually extremely difficult to use in the way you want (although I
> think this is an accident, conceptually, I think they were supposed to be used
> for this). For the interested, I attach the details at the bottom.
>
[...]
> The SCSI tag system allows all devices to have a dynamic queue. This means
> that there is no a priori guarantee about how many tags the device will accept
> before the queue becomes full.
>

I just wonder - isn't the amount of outstanding requests a device
can handle constant? If so, the user could determine this (from spec or
by running an utility that generates "too much" traffic.)

The max number of requests may then be compiled in or added as
a kernel boot parameter. The kernel would honor this and never ever
have more outstanding requests than it believes the device
can handle.

Those who don't want to bother can use some low default or accept the
risk.

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

\
 
 \ /
  Last update: 2005-03-22 13:20    [W:0.108 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site