From: Li Dongyang Date: Thu, 24 Mar 2011 10:24:26 +0000 (+0000) Subject: Btrfs: make btrfs_map_block() return entire free extent for each device of RAID0... X-Git-Tag: v2.6.39-rc1~19^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce3bb9a1bd492793170e117c60d5718b7896af4;p=pandora-kernel.git Btrfs: make btrfs_map_block() return entire free extent for each device of RAID0/1/10/DUP btrfs_map_block() will only return a single stripe length, but we want the full extent be mapped to each disk when we are trimming the extent, so we add length to btrfs_bio_stripe and fill it if we are mapping for REQ_DISCARD. Signed-off-by: Li Dongyang Signed-off-by: Chris Mason --- Reading git-diff-tree failed