disk.c and friends

From: Adrian Chadd <adrian@dont-contact.us>
Date: Thu, 25 Jul 2002 22:00:13 -0600

hi all,

i've (rediscovered!) the mess that is disk.c and how various subsections
handle disk IO. In a nutshell, there's lots of stuff in disk.c that implements
async disk IO, but nothing ever uses it these days.

I'd like to:

* tidy up disk.c to simply do sync disk IO calls,
  and remove all of the async stuff (queueing,
  write combining)
* rework things like logfile.c which use file_open()
  but don't use file_write() for some reason

.. and throw it in squid-HEAD.

I also note that in the past, before the great storeio abstraction
by duane, when async-io was compiled in you'd get async logfile
writing. (hence the write combining..) does anyone here see a need
for this to come back at all? Does anyone ever remember logfile
writing being faster with it turned on?

adrian
Received on Thu Jul 25 2002 - 22:00:14 MDT

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