From: Arnd Bergmann Subject: Re: [PATCH] LogFS take three Date: Thu, 17 May 2007 23:36:13 +0200 Message-ID: <200705172336.14552.arnd@arndb.de> References: <20070515151919.GA32510@lazybastard.org> <20070516132035.GJ5472@lazybastard.org> <464CC209.4060500@cs.helsinki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "=?utf-8?q?J=C3=B6rn?= Engel" , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, akpm@osdl.org, Albert Cahalan , Thomas Gleixner , Jan Engelhardt , Evgeniy Polyakov , Greg KH , Ingo Oeser To: Pekka Enberg Return-path: Received: from moutng.kundenserver.de ([212.227.126.179]:59931 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754958AbXEQVgQ convert rfc822-to-8bit (ORCPT ); Thu, 17 May 2007 17:36:16 -0400 In-Reply-To: <464CC209.4060500@cs.helsinki.fi> Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thursday 17 May 2007, Pekka Enberg wrote: >=20 > J=C3=B6rn Engel wrote: > > Compressing random data will actually enlarge it. =C2=A0If that hap= pens I > > simply store the verbatim uncompressed data instead and mark it as = such. > >=20 > > There is also demand for a user-controlled bit in the inode to disa= ble > > compression completely. =C2=A0All those .jpg, .mpg, .mp3, etc. just= waste > > time by trying and failing to compress them. >=20 > So any sane way to enable compression is on per-inode basis which mak= es=20 > me still wonder why you need per-object compression. 1. it doesn't require user interaction, the file system will do the rig= ht thing most of the time. 2. enlarging data is a very bad thing because it makes the behaviour of the fs unpredictable. With uncompressed objects, you have a guarante= ed upper bound on the size. Arnd <>< - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html