commit | f79707b092caff665a8a77e8e31fe4ab18b4d109 | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | Thu Jul 17 11:44:09 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Sep 17 13:37:36 2014 -0700 |
tree | a99824b3fa7f9151f0b46a613b3a882c47856ab2 | |
parent | d447d0da44cd7d396277d1d8f46b418c721fbc02 [diff] |
Btrfs: fix wrong skipping compression for an inode If a file's compression ratios is bad, we will set NOCOMPRESS flag for it, and it will skip compression for that inode next time. However, if we remount fs to COMPRESS_FORCE, it still should try if we could compress pages for that inode, this patch fix wrong check for this problem. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>