From: wessels <> Date: Mon, 26 Jun 2000 09:19:47 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1921 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1673cb62b36b0a94b089300920c7061a7e5fec80;p=thirdparty%2Fsquid.git DW: - Since storeDiskdDirCallback() no longer loops when 'away > magic2', we have to do it here in storeDiskdSend(). --- diff --git a/src/fs/diskd/store_io_diskd.cc b/src/fs/diskd/store_io_diskd.cc index 69bfeb0994..bf6dfe8070 100644 --- a/src/fs/diskd/store_io_diskd.cc +++ b/src/fs/diskd/store_io_diskd.cc @@ -1,6 +1,6 @@ /* - * $Id: store_io_diskd.cc,v 1.10 2000/05/29 01:37:11 wessels Exp $ + * $Id: store_io_diskd.cc,v 1.11 2000/06/26 03:19:47 wessels Exp $ * * DEBUG: section 81 Squid-side DISKD I/O functions. * AUTHOR: Duane Wessels @@ -468,7 +468,7 @@ storeDiskdSend(int mtype, SwapDir * sd, int id, storeIOState * sio, int size, in * then we can have a lot of messages in the queue (probably * up to 2*magic1) and we can run out of shared memory buffers. */ - if (diskdinfo->away > diskdinfo->magic2) + while (diskdinfo->away > diskdinfo->magic2) storeDiskdDirCallback(sd); return x; }