Received: from moutng.kundenserver.de ([212.227.126.187]) by canuck.infradead.org with esmtp (Exim 4.63 #1 (Red Hat Linux)) id 1Huy7k-0007a9-85 for linux-mtd@lists.infradead.org; Sun, 03 Jun 2007 18:00:51 -0400 From: Arnd Bergmann To: =?utf-8?q?J=C3=B6rn_Engel?= Subject: Re: [Patch 06/18] fs/logfs/compr.c Date: Sun, 3 Jun 2007 23:58:43 +0200 References: <20070603183845.GA8952@lazybastard.org> <20070603184355.GG8952@lazybastard.org> In-Reply-To: <20070603184355.GG8952@lazybastard.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200706032358.44870.arnd@arndb.de> Cc: akpm@osdl.org, David Weinehall , Dongjun Shin , Kyle Moffett , linux-mtd@lists.infradead.org, Pavel Machek , Sam Ravnborg , Ulisses Furquim , CaT , Evgeniy Polyakov , Roland Dreier , Jamie Lokier , Pekka Enberg , Jan Engelhardt , Thomas Gleixner , Bill Davidsen , Albert Cahalan , John Stoffel , linux-kernel@vger.kernel.org, Ondrej Zajicek , linux-fsdevel@vger.kernel.org, David Woodhouse , Willy Tarreau List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sunday 03 June 2007, J=C3=B6rn Engel wrote: > +#define COMPR_LEVEL 3 > + > +static DEFINE_MUTEX(compr_mutex); > +static struct z_stream_s stream; Is there a particular reason to choose '3' as the only compression level? Should this perhaps be a per-superblock option instead? Also, I thought I saw discussion about making the mutex and stream per-superblock, but don't remember if the idea was discarded. If it was, you might want to add it to the won't-happen list. Arnd <><=20