Re: [zfs-discuss] Update/append of compressed files

2007-04-18 Thread Roch - PAE
Dan Mick writes: > Robert Milkowski wrote: > > Hello Dan, > > > > Tuesday, April 17, 2007, 9:44:45 PM, you wrote: > > > How can this work? With compressed data, its hard to predict its > final size before compression. > >>> Because you are NOT compressing the file only compr

Re[2]: [zfs-discuss] Update/append of compressed files

2007-04-17 Thread Robert Milkowski
Hello Dan, Tuesday, April 17, 2007, 10:59:53 PM, you wrote: DM> Robert Milkowski wrote: >> Hello Dan, >> >> Tuesday, April 17, 2007, 9:44:45 PM, you wrote: >> > How can this work? With compressed data, its hard to predict its > final size before compression. Because you are NOT

Re: [zfs-discuss] Update/append of compressed files

2007-04-17 Thread Dan Mick
Robert Milkowski wrote: Hello Dan, Tuesday, April 17, 2007, 9:44:45 PM, you wrote: How can this work? With compressed data, its hard to predict its final size before compression. Because you are NOT compressing the file only compressing the blocks as they get written to disk. DM> I guess

Re[2]: [zfs-discuss] Update/append of compressed files

2007-04-17 Thread Robert Milkowski
Hello Dan, Tuesday, April 17, 2007, 9:44:45 PM, you wrote: >>> How can this work? With compressed data, its hard to predict its >>> final size before compression. >> >> Because you are NOT compressing the file only compressing the blocks as >> they get written to disk. DM> I guess this impl

Re: [zfs-discuss] Update/append of compressed files

2007-04-17 Thread Dan Mick
How can this work? With compressed data, its hard to predict its final size before compression. Because you are NOT compressing the file only compressing the blocks as they get written to disk. I guess this implies that the compression only can save integral numbers of blocks. _

Re: [zfs-discuss] Update/append of compressed files

2007-04-17 Thread Jerome Haynes-Smith
Hi folks On Tuesday 17 April 2007 11:49, Darren J Moffat wrote: > Leonardo Francalanci wrote: > > Hi, > > > > regarding ZFS compression method: what happens when a compressed file is > > udpated/appended? Is it ALL un-compressed first, updated/appended and > > then re-compressed? Or only the affec

Re: [zfs-discuss] Update/append of compressed files

2007-04-17 Thread Darren J Moffat
Jerome Haynes-Smith wrote: regarding ZFS compression method: what happens when a compressed file is udpated/appended? Is it ALL un-compressed first, updated/appended and then re-compressed? Or only the affected blocks are uncompressed and then recompressed? ZFS does NOT compress files. It compr

Re: [zfs-discuss] Update/append of compressed files

2007-04-17 Thread Darren J Moffat
Leonardo Francalanci wrote: Hi, regarding ZFS compression method: what happens when a compressed file is udpated/appended? Is it ALL un-compressed first, updated/appended and then re-compressed? Or only the affected blocks are uncompressed and then recompressed? ZFS does NOT compress files.

[zfs-discuss] Update/append of compressed files

2007-04-17 Thread Leonardo Francalanci
Hi, regarding ZFS compression method: what happens when a compressed file is udpated/appended? Is it ALL un-compressed first, updated/appended and then re-compressed? Or only the affected blocks are uncompressed and then recompressed? And, what happens exactly when a portion of a compressed