delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/18/16:47:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cgf AT redhat DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019