From 1673cb62b36b0a94b089300920c7061a7e5fec80 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Mon, 26 Jun 2000 09:19:47 +0000 Subject: [PATCH] DW: - Since storeDiskdDirCallback() no longer loops when 'away > magic2', we have to do it here in storeDiskdSend(). --- src/fs/diskd/store_io_diskd.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.3