diff options
author | David Sterba <dsterba@suse.com> | 2017-07-21 19:15:54 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-07-21 19:15:54 +0200 |
commit | 992d489412a7063b0c99af07ee9030c474bfabf9 (patch) | |
tree | 6de55260d4ec00df61eac88cc8181c945958ac39 /fs/btrfs/btrfs_inode.h | |
parent | e2fc071fc898298ae61ff91f6eed695c9b180c05 (diff) | |
parent | afb29965ae24123bf6b5aa4d9390f42292a1796c (diff) |
Merge branch 'dev/compr-type-prop-defrag' into compression
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r-- | fs/btrfs/btrfs_inode.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index a68fbf6d4bc0..219e971f8577 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h @@ -179,9 +179,14 @@ struct btrfs_inode { unsigned reserved_extents; /* - * always compress this one file + * Cached values if inode properties */ - unsigned force_compress; + unsigned prop_compress; /* per-file compression algorithm */ + /* + * Force compression on the file using the defrag ioctl, could be + * different from prop_compress and takes precedence if set + */ + unsigned defrag_compress; struct btrfs_delayed_node *delayed_node; |