Btrfs-progs: add support for the compression property
authorFilipe David Borba Manana <fdmanana@gmail.com>
Wed, 13 Nov 2013 01:22:09 +0000 (01:22 +0000)
committerChris Mason <clm@fb.com>
Fri, 31 Jan 2014 16:22:33 +0000 (08:22 -0800)
commite32205997f2dc3e0e74fd0a5571ea707a3bf831c
treecdf355adaabae393a517c0c56a1b1e4dc5d9c994
parentaea978980040462160196597d2b0ca0527af1600
Btrfs-progs: add support for the compression property

With this property, one can enable compression for individual files
without the need to mount the filesystem with the compress or
compress-force options, and specify the compression algorithm.

When applied against a directory, files created under that directory
will inherit the compression property.

This requires the corresponding kernel patch, which adds the support
for setting and getting properties and implements the compression
property.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
props.c