Li Dongyang fce3bb9a1b 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 <lidongyang@novell.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2011-03-28 05:37:45 -04:00
..
2008-09-25 11:04:06 -04:00
2011-03-28 05:37:35 -04:00
2011-03-28 05:37:35 -04:00
2010-12-22 23:15:47 +08:00
2010-12-22 23:15:47 +08:00
2011-03-28 05:37:35 -04:00
2011-03-28 05:37:35 -04:00
2011-03-28 05:37:35 -04:00
2010-05-21 18:31:18 -04:00