Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 18 Mar 2002 16:42:25 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Any chance of upping MAX_DELQUEUES_PENDING? Message-ID: <20020318214225.GM24577@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <002101c1cec3$0b0cb010$0100a8c0 AT advent02> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002101c1cec3$0b0cb010$0100a8c0@advent02> User-Agent: Mutt/1.3.23.1i On Mon, Mar 18, 2002 at 09:22:43PM -0000, Chris January wrote: >Why is MAX_DELQUEUES_PENDING set only to 100? Sometimes I want to delete >more than 100 files (quite often in fact). Any good reason for this or is it >an arbitary limit? If so, could it be upped to something a bit larger >please? >It seems the current limit of 100 was chosen arbitarily by Geoffrey Noer in >1998. >Just out of curiosity, why is there a deletion queue in the first place? >Also, Geoffrey mentions that having an array of a fixed size is bad in the >FIXME comment at the top of delqueue.cc. Is there any reason this has not >been re-implemented as a linked list (for example), yet? (other than lack of >contributors to do it) Actually this should be handled by the new cygwin daemon code in the future. Currently, setting up the limit means increasing the size of cygwin's shared memory region. If you read the reference that Larry provided, you'll see that this queue is only used in specific cases. It isn't used for every deletion. Check out the code in unlink() for details. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/