[Interest] QFile subclass that does HFS compression?

Thiago Macieira thiago.macieira at intel.com
Mon Dec 17 18:00:06 CET 2018

On Monday, 17 December 2018 01:36:50 PST René J.V. Bertin wrote:
> Using HFS compression can be very beneficial for files that you write once
> and read often (or very infrequently) as well as for tiny files (which are
> reduced to only a directory entry). Being able to create such files
> directly in compressed form is typically an order of magnitude faster than
> using a post-hoc compression utility like afsctool.

How does that work? Is that just an ioctl, fcntl or a similar system call on 
the open file descriptor? If so, you can do it right now.

Do you want an API for it? Then if you had a few more attributes and OSes that 
could benefit from this, the proposal would be stronger. NTFS and btrfs have 
compression, for example, and on Linux you can set attributes like secure 
deletion too.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Interest mailing list