From mboxrd@z Thu Jan 1 00:00:00 1970 From: cwillu Subject: Re: [GIT PULL] Btrfs updates Date: Sat, 22 Jan 2011 17:53:58 -0600 Message-ID: References: <1295298216-sup-6206@think> <20110118101436.GA2652@scooter> <4D36ABC0.1060109@shiftmail.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-btrfs@vger.kernel.org To: Clemens Eisserer Return-path: In-Reply-To: List-ID: On Sat, Jan 22, 2011 at 5:41 PM, Clemens Eisserer wrote: >> E.g. suppose you have a LZO compressed file, then a program rewrites some >> data which is in the middle of the file, and suppose the newly written data >> is less compressible. > > Any idea how this is handled? I would be interested in the answer as well. > > Thank you in advance, Clemens The same way any write is handled: the data is written elsewhere. Compression isn't special in this regard.