Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752510AbXFCWBP (ORCPT ); Sun, 3 Jun 2007 18:01:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751382AbXFCWBE (ORCPT ); Sun, 3 Jun 2007 18:01:04 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:57785 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751159AbXFCWBB convert rfc822-to-8bit (ORCPT ); Sun, 3 Jun 2007 18:01:01 -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 User-Agent: KMail/1.9.6 Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, akpm@osdl.org, Sam Ravnborg , John Stoffel , David Woodhouse , Jamie Lokier , Artem Bityutskiy , CaT , Jan Engelhardt , Evgeniy Polyakov , David Weinehall , Willy Tarreau , Kyle Moffett , Dongjun Shin , Pavel Machek , Bill Davidsen , Thomas Gleixner , Albert Cahalan , Pekka Enberg , Roland Dreier , Ondrej Zajicek , Ulisses Furquim References: <20070603183845.GA8952@lazybastard.org> <20070603184355.GG8952@lazybastard.org> In-Reply-To: <20070603184355.GG8952@lazybastard.org> X-Face: >j"dOR3XO=^3iw?0`(E1wZ/&le9!.ok[JrI=S~VlsF~}"P\+jx.GT@=?utf-8?q?=0A=09-oaEG?=,9Ba>v;3>:kcw#yO5?B:l{(Ln.2)=?utf-8?q?=27=7Dfw07+4-=26=5E=7CScOpE=3F=5D=5EXdv=5B/zWkA7=60=25M!DxZ=0A=09?= =?utf-8?q?8MJ=2EU5?="hi+2yT(k`PF~Zt;tfT,i,JXf=x@eLP{7B:"GyA\=UnN) =?utf-8?q?=26=26qdaA=3A=7D-Y*=7D=3A3YvzV9=0A=09=7E=273a=7E7I=7CWQ=5D?=<50*%U-6Ewmxfzdn/CK_E/ouMU(r?FAQG/ev^JyuX.%(By`" =?utf-8?q?L=5F=0A=09H=3Dbj?=)"y7*XOqz|SS"mrZ$`Q_syCd MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200706032358.44870.arnd@arndb.de> X-Provags-ID: V01U2FsdGVkX19Jz4fzUXbS+Ur3RZpcXKL+umIR2TcwPbwd1Hp 18U+Ch9UhlAfhVx/bvA1bqu7eh3P3ulnhkQ3t9QEc9/WtzXXud aNozv7VjBp5vuK54ZJ3Zg== Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 724 Lines: 19 On Sunday 03 June 2007, Jörn 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 <>< - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/