From: Li Dongyang Date: Thu, 24 Mar 2011 10:24:28 +0000 (+0000) Subject: Btrfs: add btrfs_trim_fs() to handle FITRIM X-Git-Tag: v2.6.39-rc1~19^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7039b1d5c32241f87a513e33120db36bf30264d;p=pandora-kernel.git Btrfs: add btrfs_trim_fs() to handle FITRIM We take an free extent out from allocator, trim it, then put it back, but before we trim the block group, we should make sure the block group is cached, so plus a little change to make cache_block_group() run without a transaction. Signed-off-by: Li Dongyang Signed-off-by: Chris Mason --- Reading git-diff-tree failed