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
..
2011-02-25 11:12:37 -08:00
2011-02-21 22:31:47 +00:00
2011-02-11 16:50:47 -06:00
2011-03-03 01:28:17 -05:00
2011-03-03 01:28:16 -05:00
2011-03-08 19:46:10 -05:00
2011-03-03 01:28:16 -05:00
2011-03-03 01:28:40 -05:00
2011-03-03 01:28:16 -05:00
2011-02-02 16:03:19 -08:00
2011-02-02 16:03:19 -08:00
2011-02-24 02:10:57 -05:00