From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.58.247.3 with SMTP id ya3csp555681vec; Mon, 3 Sep 2012 09:10:36 -0700 (PDT) Received: by 10.60.31.165 with SMTP id b5mr14062352oei.58.1346688635853; Mon, 03 Sep 2012 09:10:35 -0700 (PDT) Return-Path: Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com. [50.56.192.79]) by mx.google.com with ESMTP id zm6si13442340obb.145.2012.09.03.09.10.35; Mon, 03 Sep 2012 09:10:35 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) client-ip=50.56.192.79; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 50.56.192.79 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 803202E090; Mon, 3 Sep 2012 16:10:35 +0000 (UTC) Received: from dmz-mailsec-scanner-1.mit.edu (DMZ-MAILSEC-SCANNER-1.MIT.EDU [18.9.25.12]) by rubyforge.org (Postfix) with ESMTP id 315BE2E081 for ; Mon, 3 Sep 2012 16:10:26 +0000 (UTC) X-AuditID: 1209190c-b7fd26d0000008d9-96-5044d672de6e Received: from mailhub-1.mit.edu ( [18.9.21.34]) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id EF.39.02265.276D4405; Mon, 3 Sep 2012 12:10:26 -0400 (EDT) Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by mailhub-1.mit.edu (8.13.8/8.9.2) with ESMTP id q83GAQUF020475; Mon, 3 Sep 2012 12:10:26 -0400 Received: from webmail-3.mit.edu (WEBMAIL-3.MIT.EDU [18.9.23.13]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id q83GDGeA016037; Mon, 3 Sep 2012 12:13:22 -0400 (EDT) Received: from webmail-3.mit.edu (localhost.localdomain [127.0.0.1]) by webmail-3.mit.edu (8.13.8) with ESMTP id q83GAEZx027496; Mon, 3 Sep 2012 12:10:14 -0400 Received: (from nobody@localhost) by webmail-3.mit.edu (8.13.8/8.13.8/Submit) id q83GADYx027495; Mon, 3 Sep 2012 12:10:13 -0400 X-Authentication-Warning: webmail-3.mit.edu: nobody set sender to ezyang@mit.edu using -f Received: from c-67-186-133-183.hsd1.ma.comcast.net (c-67-186-133-183.hsd1.ma.comcast.net [67.186.133.183]) (User authenticated as ezyang@ATHENA.MIT.EDU) by webmail.mit.edu (Horde MIME library) with HTTP; Mon, 03 Sep 2012 12:10:13 -0400 Message-ID: <20120903121013.8cpe3jr5wg0kw88k@webmail.mit.edu> Date: Mon, 03 Sep 2012 12:10:13 -0400 From: ezyang To: Alvaro Herrera References: <1345564795-sup-3898@alvh.no-ip.org> <1346648371-12305-1-git-send-email-ezyang@mit.edu> <1346648395-sup-4546@javelin> <1346688000-sup-4643@alvh.no-ip.org> <1346688387-sup-5906@alvh.no-ip.org> In-Reply-To: <1346688387-sup-5906@alvh.no-ip.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTURzv7O5xZ7txvfNxnFlwzYpomlRolGLpB/tQDfpQRpBXd9yW27R7 t6FSIBlUkqWWlasoyxQEMa18UdIMJIcfNFN7mmAGqfNBZr7p3t18fPv/f0/+nINjVIdMg5us NsRaGTMt95FSSn9ay/Ym6HbVlmqiO28uKKIH77xSxEkSP8wVKRJbWoowneSUzwE9MpsciI2I TfYxlhS2SDL78Kzfb/IVucAjzwc4Dsk9sH7wUD5Q8mMA7Oyv4WEfnCKbAOybGwLi8hzAyYsj MnFpALBtthITlzIAJ6qLFOKSB2BH83u5GJYEi8fKFcJMkVMAPpjfJ8wEGQMfdo3LhG4pGQYr ppMEWE6GwGeuJa/Vj9wJn9Z88Voxchusr5j34moyDlYtev4XdwFYUD4pEwglGQl7az/KxHxf 2F76QyqaD8LFgjzvnRgZDCuXcBHeDBs89zFh9iej4MDrRlAIApxr3M41bueq27nG/QhIq0CI 3pKjtTAmM4dStVwqY7UiVhsZbjHZwpHeXge8DxWkagSjLroVkDigVYRuLF5HyRgHl21pBUG4 hPYnJroTdNSGlAx9tpHhjGdYuxlxrQDiGO1HTD3hOULPZOcgNmOZCsaldCDRrf90jCINjA2l I5SJ2GV2I47TkLjbwxt9WWRAWWkms22VluBKIVzFh8sFDcFlMhbOZBB5N9Div5zub4CSWjOs SBNIXBJEpCAy2q0rOcufcBgE8mepCYegUvFfdCVpmC+R8CVtvvFCiY1ZpTS5AIXpbkfNm09i 9xZG/trOjx+p3HR64Nq4+WfMhdzrb+suJ8e3q/1vzbq3Fx8FPTNl6/B3JVtcdWVVzZ7i9a5o U2ja/iuhS5NJ2YtnVUMnwr/3UjEvqnMMj9ENt7n0+J+laZvy8FY1GdHfNJW+qdm+92VKbET6 7s+Or+cIWf3ozFUNLeWMTOQOjOWYfwZ/j21fAwAA Cc: sup-devel Subject: Re: [sup-devel] [PATCH] Inotify support for Maildirs. (FIRST DRAFT) X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Quoting Alvaro Herrera : > Excerpts from Alvaro Herrera's message of lun sep 03 13:02:26 -0300 2012: >> Excerpts from Edward Z. Yang's message of lun sep 03 02:00:59 -0300 2012: >> > The locking is a downright crime (where's the STM when you need it), >> > and it's still racy, but it should work OK. >> >> Hm. I tried this but ran into trouble: I currently run branch "next", >> and your patch doesn't apply there; so I tried your ~ezyang fork and >> branch maildir-sync there, but I find that when in that branch (with or >> without this patch), Sup seems to eat 100% of a CPU core doing >> clock_gettime() and select() continuously. Not sure what's happening. >> I assume you don't see that behavior. > > Oh, I see what's going on: it's deleting all my deleted email! :-) > Nevermind. I'll just wait for it to finish before trying out your patch. There is a bug in the patch, where it notices changes that Sup makes from inotify, and as a result undoes any flag changes you make. So there needs to be a fix here but I'm not sure what it is yet. Edward _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel