commit | 163cf09c2a0ee5cac6285f9347975bd1e97725da | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Sun Nov 28 19:56:33 2010 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Sun Nov 28 19:56:33 2010 -0500 |
tree | 5a83cd42d57fcc4d92d12965b5eafdb472e89b02 | |
parent | 450ba0ea06b6ed3612d27f2b7127a9de4160f285 [diff] |
Btrfs: deal with DIO bios that span more than one ordered extent The new DIO bio splitting code has problems when the bio spans more than one ordered extent. This will happen as the generic DIO code merges our get_blocks calls together into a bigger single bio. This fixes things by walking forward in the ordered extent code finding all the overlapping ordered extents and completing them all at once. Signed-off-by: Chris Mason <chris.mason@oracle.com>