From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69753 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: [PATCH 2/2] nnmaildir: Use a 'num' file, instead of a directory Date: Thu, 24 Jun 2010 12:52:25 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87bpb0jp2e.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277402042 23670 80.91.229.12 (24 Jun 2010 17:54:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Jun 2010 17:54:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M18144@lists.math.uh.edu Thu Jun 24 19:54:00 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ORqce-0000Ts-K1 for ding-account@gmane.org; Thu, 24 Jun 2010 19:53:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1ORqbd-0002tr-Bh; Thu, 24 Jun 2010 12:52:53 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1ORqbb-0002tb-EP for ding@lists.math.uh.edu; Thu, 24 Jun 2010 12:52:51 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1ORqbZ-0004jG-Bc for ding@lists.math.uh.edu; Thu, 24 Jun 2010 12:52:51 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1ORqbY-0000VM-00 for ; Thu, 24 Jun 2010 19:52:48 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1ORqbV-0008P7-2E for ding@gnus.org; Thu, 24 Jun 2010 19:52:45 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jun 2010 19:52:45 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jun 2010 19:52:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:4cJq7xU8AI3IM+xbsspRCRFBKr4= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69753 gmane.emacs.devel:126364 Archived-At: On Thu, 27 May 2010 15:09:08 -0600 John Wiegley wrote: JW> This patch causes nnmaildir to use a "num" file to track the next JW> available article number, rather than creating N empty files. JW> However, this only works for new groups. Existing groups, which use JW> the directory, will continue to. If you want to switch to using JW> file-based numbering, you must convert your Maildir using the JW> attached script (it's also copied to the commit description in the JW> patch). IIRC (and Paul Jarc may want to comment) something similar was discussed in http://thread.gmane.org/gmane.emacs.gnus.general/66245/focus=66247 I'm not sure I want to give up concurrent spool access in nnmaildir so I left things alone back then. I have recently experienced slow nnmaildir performance too (see http://article.gmane.org/gmane.emacs.gnus.general/69723). Maybe we can make this a backend parameter, off by default, and ask whenever someone creates a new nnmaildir backend in Gnus? I don't think we need to support the conversion you described, we should only support it for new nnmaildirs. What do you think? Ted