Re: post modio

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 12 May 2000 19:46:09 +0200

Duane Wessels wrote:

> The new storeDiskdDirCallback, however, doesn't loop over all dirs. It
> blocks one just one dir at a time. In fact, the way its written now,
> it would just chew up CPU needlessly. You might as well change
> ICP_NOWAIT to "0" if away > magic2. The old storeDiskdReadQueue
> also chewed up CPU, but I would not say that it was needless.
>
> Am I missing something?

No you are not. Similar concerns applies to the aufs code.

The callback should be a more generic kind where different I/O "modules"
(Squid AIO, diskd, ...) can register themselves, and not directly tied
to the cache_dir instances.

/Henrik
Received on Fri May 12 2000 - 12:00:15 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:25 MST