commit | 7816030eb48e00a36ecdc23d484b960922feee67 | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | Thu Jul 17 11:44:10 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Sep 17 13:37:38 2014 -0700 |
tree | 5c3146946fc4935281c3a3a27971ea1d08a0639a | |
parent | f79707b092caff665a8a77e8e31fe4ab18b4d109 [diff] |
Btrfs: fall into nocompression codes quickly if possible If flag NOCOMPRESS is set which means bad compression ratio, we could avoid call cow_file_range_async() for this case earlier. 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>