Skip to content
Commit 163cf09c authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent 450ba0ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment