From: Liu Bo Date: Thu, 6 Sep 2012 01:10:51 +0000 (-0600) Subject: Btrfs: use flag EXTENT_DEFRAG for snapshot-aware defrag X-Git-Tag: v3.7-rc1~71^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e8a4a8b0b9484e8d14674fc62c9ad8ac9dbce5b;p=pandora-kernel.git Btrfs: use flag EXTENT_DEFRAG for snapshot-aware defrag We're going to use this flag EXTENT_DEFRAG to indicate which range belongs to defragment so that we can implement snapshow-aware defrag: We set the EXTENT_DEFRAG flag when dirtying the extents that need defragmented, so later on writeback thread can differentiate between normal writeback and writeback started by defragmentation. Original-Signed-off-by: Li Zefan Signed-off-by: Liu Bo --- Reading git-diff-tree failed