--------------------- PatchSet 11773 Date: 2007/11/26 10:57:37 Author: adrian Branch: SQUID_2_6 Tag: (none) Log: Author: hno Patchset 11724 (HEAD): Make aufs store rebuilding back off a little if I/O load too high aufs could stress itself a bit too hard during the rebuild process. This change makes the rebuild slow down before I/O is overloaded. Members: src/fs/aufs/store_dir_aufs.c:1.67.2.1->1.67.2.2 Index: squid/src/fs/aufs/store_dir_aufs.c =================================================================== RCS file: /cvsroot/squid/squid/src/fs/aufs/store_dir_aufs.c,v retrieving revision 1.67.2.1 retrieving revision 1.67.2.2 diff -u -r1.67.2.1 -r1.67.2.2 --- squid/src/fs/aufs/store_dir_aufs.c 3 Mar 2007 13:34:51 -0000 1.67.2.1 +++ squid/src/fs/aufs/store_dir_aufs.c 26 Nov 2007 10:57:37 -0000 1.67.2.2 @@ -1,6 +1,6 @@ /* - * $Id: store_dir_aufs.c,v 1.67.2.1 2007/03/03 13:34:51 hno Exp $ + * $Id: store_dir_aufs.c,v 1.67.2.2 2007/11/26 10:57:37 adrian Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -1551,6 +1551,8 @@ break; /* no more objects */ removed++; storeRelease(e); + if (aioQueueSize() > MAGIC2) + break; } walker->Done(walker); debug(47, (removed ? 2 : 3)) ("storeAufsDirMaintain: %s removed %d/%d f=%.03f max_scan=%d\n",