Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment