From: Liu Bo Date: Fri, 2 Aug 2013 08:30:40 +0000 (+0800) Subject: Btrfs: allow compressed extents to be merged during defragment X-Git-Tag: v3.12-rc1~40^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=116e0024c453dfdfacc9278f485dabc9c63a4ac4;p=pandora-kernel.git Btrfs: allow compressed extents to be merged during defragment The rule originally comes from nocow writing, but snapshot-aware defrag is a different case, the extent has been writen and we're not going to change the extent but add a reference on the data. So we're able to allow such compressed extents to be merged into one bigger extent if they're pointing to the same data. Reviewed-by: Miao Xie Signed-off-by: Liu Bo Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed