Re: [zfs-discuss] zfs compression - btrfs compression

2008-11-04 Thread Darren J Moffat
[EMAIL PROTECTED] wrote: > On Mon, Nov 03, 2008 at 12:33:52PM -0600, Bob Friesenhahn wrote: >> On Mon, 3 Nov 2008, Robert Milkowski wrote: >>> Now, the good filter could be to use MAGIC numbers within files or >>> approach btrfs come up with, or maybe even both combined. >> You are suggesting that

Re: [zfs-discuss] zfs compression - btrfs compression

2008-11-03 Thread przemolicc
On Mon, Nov 03, 2008 at 12:33:52PM -0600, Bob Friesenhahn wrote: > On Mon, 3 Nov 2008, Robert Milkowski wrote: > > Now, the good filter could be to use MAGIC numbers within files or > > approach btrfs come up with, or maybe even both combined. > > You are suggesting that ZFS should detect a GIF or

Re: [zfs-discuss] zfs compression - btrfs compression

2008-11-03 Thread Darren J Moffat
Bob Friesenhahn wrote: > On Mon, 3 Nov 2008, Robert Milkowski wrote: >> Maybe that's a good one - so if couple of blocks do not compress then >> flag it in file metadata and do not try to compress any blocks within >> the file anymore. Of course for some files it will be suboptimal so >> maybe a da

Re: [zfs-discuss] zfs compression - btrfs compression

2008-11-03 Thread Bob Friesenhahn
On Mon, 3 Nov 2008, Robert Milkowski wrote: > Now, the good filter could be to use MAGIC numbers within files or > approach btrfs come up with, or maybe even both combined. You are suggesting that ZFS should detect a GIF or JPEG image stored in a database BLOB. That is pretty fancy functionality

Re: [zfs-discuss] zfs compression - btrfs compression

2008-11-03 Thread Bob Friesenhahn
On Mon, 3 Nov 2008, Robert Milkowski wrote: > > Maybe that's a good one - so if couple of blocks do not compress then > flag it in file metadata and do not try to compress any blocks within > the file anymore. Of course for some files it will be suboptimal so > maybe a dataset option? This is inte

Re: [zfs-discuss] zfs compression - btrfs compression

2008-11-03 Thread Robert Milkowski
Hello Darren, Monday, November 3, 2008, 12:44:29 PM, you wrote: DJM> Robert Milkowski wrote: >> Hello zfs-discuss, >> >> http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-standalone.git;a=commit;h=eecfe5255c533fefd38072a04e4afb56c40d9719 >> "If compression for a given set of pages f

Re: [zfs-discuss] zfs compression - btrfs compression

2008-11-03 Thread Darren J Moffat
Robert Milkowski wrote: > Hello zfs-discuss, > > http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-standalone.git;a=commit;h=eecfe5255c533fefd38072a04e4afb56c40d9719 > "If compression for a given set of pages fails to make them smaller, the > file is flagged to avoid future compressio

[zfs-discuss] zfs compression - btrfs compression

2008-11-03 Thread Robert Milkowski
Hello zfs-discuss, http://git.kernel.org/?p=linux/kernel/git/mason/btrfs-unstable-standalone.git;a=commit;h=eecfe5255c533fefd38072a04e4afb56c40d9719 "If compression for a given set of pages fails to make them smaller, the file is flagged to avoid future compression attempts later." Maybe that's a