2017-09-04 21:42 GMT+03:00 Adam Borowski <kilobyte@xxxxxxxxxx>: > On Mon, Sep 04, 2017 at 07:07:25PM +0300, Timofey Titovets wrote: >> 2017-09-04 18:11 GMT+03:00 Adam Borowski <kilobyte@xxxxxxxxxx>: >> > Here's an utility to measure used compression type + ratio on a set of files >> > or directories: https://github.com/kilobyte/compsize >> > >> > It should be of great help for users, and also if you: >> > * muck with compression levels >> > * add new compression types >> > * add heurestics that could err on withholding compression too much >> >> Packaged to AUR: >> https://aur.archlinux.org/packages/compsize-git/ > > Cool! I'd wait until people say the code is sane (I don't really know these > ioctls) but if you want to make poor AUR folks our beta testers, that's ok. This just are too handy =) > However, one issue: I did not set a license; your packaging says GPL3. > It would be better to have something compatible with btrfs-progs which are > GPL2-only. What about GPL2-or-higher? Sorry for license, just copy-paste error, fixed > After adding some related info (like wasted space in pinned extents, reuse > of extents), it'd be nice to have this tool inside btrfs-progs, either as a > part of "fi du" or another command. That will be useful =) P.S. your code work amazing fast on my ssd and data %) 150Gb data -O0 2.12s -O2 0.51s -- Have a nice day, Timofey. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
