Skip to content
Commit db1d607d authored by Josef Bacik's avatar Josef Bacik
Browse files

Btrfs: hold the ordered operations mutex when waiting on ordered extents



We need to hold the ordered_operations mutex while waiting on ordered extents
since we splice and run the ordered extents list.  We need to make sure anybody
else who wants to wait on ordered extents does actually wait for them to be
completed.  This will keep us from bailing out of flushing in case somebody is
already waiting on ordered extents to complete.  Thanks,

Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 6e137ed3
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