Skip to content
Commit af7a6509 authored by Miao Xie's avatar Miao Xie Committed by Josef Bacik
Browse files

Btrfs: wake up the tasks that wait for the io earlier



The tasks that wait for the IO_DONE flag just care about the io of the dirty
pages, so it is better to wake up them immediately after all the pages are
written, not the whole process of the io completes.

Signed-off-by: default avatarMiao Xie <miaox@cn.fujitsu.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
parent 8b9d83cd
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