Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1D038421186 for ; Wed, 29 Jun 2011 07:41:14 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.01 X-Spam-Level: X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2yMg3PwelDGH for ; Wed, 29 Jun 2011 07:41:13 -0700 (PDT) Received: from arlo.cworth.org (arlo.cworth.org [50.43.72.2]) by olra.theworths.org (Postfix) with ESMTP id 9F62E429E5F for ; Wed, 29 Jun 2011 07:41:13 -0700 (PDT) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id A289329A049; Wed, 29 Jun 2011 07:41:12 -0700 (PDT) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 9336D2541A8; Wed, 29 Jun 2011 07:41:12 -0700 (PDT) From: Carl Worth To: Austin Clements , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] new: Don't update DB mtime if FS mtime equals wall-clock time. In-Reply-To: <87wrg4696u.fsf@yoom.home.cworth.org> References: <1309331455-19584-1-git-send-email-amdragon@mit.edu> <87wrg4696u.fsf@yoom.home.cworth.org> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Date: Wed, 29 Jun 2011 07:41:12 -0700 Message-ID: <87ei2c66pj.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: amdragon@mit.edu X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 14:41:15 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Wed, 29 Jun 2011 06:47:37 -0700, Carl Worth wrote: > On Wed, 29 Jun 2011 03:10:54 -0400, Austin Clements wr= ote: > > + * XXX Bug workaround: If this is a new directory, we *must* > > + * update the mtime; otherwise the next run will see the 0 mtime ... > I like to reserve "XXX" as an indication that some further work is > necessary. Reading your other mail now, I see that there are bugs here and that you do want to eliminate the new_directory optimization. That wasn't clear to me from the comment above. So the XXX is probably fine, but could perhaps give a little more indication of what could be done to eliminate the bug. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk4LOYgACgkQ6JDdNq8qSWjyxwCfehV9WJ8RrWY946e8e5jhP4D7 JXAAn1rInHJuZNobGWAPOieEjKpIwKn9 =ZUPV -----END PGP SIGNATURE----- --=-=-=--