Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3eaa2885 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Fix the defragmention code and the block relocation code for data=ordered



Before setting an extent to delalloc, the code needs to wait for
pending ordered extents.

Also, the relocation code needs to wait for ordered IO before scanning
the block group again.  This is because the extents are not removed
until the IO for the new extents is finished

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 64f26f74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment