On Thu, Jul 17, 2014 at 11:44:09AM +0800, Wang Shilong wrote:
> 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.f...@cn.fujitsu.com>

Reviewed-by: David Sterba <dste...@suse.cz>

The documented compression precedence
https://btrfs.wiki.kernel.org/index.php/Compression#What.27s_the_precedence_of_all_the_options_affecting_compression.3F

matches the way you've fixed it.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to