Kees Cook, I debugged this problem and found out that this is happening because of waiting on ext4 journals. I can see currently there is a ext4 thread going on for doing journal commit in two phases:
Phase 1) wake up the journal commit threads
(Do some other work)
Phase 2) wait for the commit to finish.
Once that is done we should have a solution. I will follow-up this thread and pick the solution from there.
Kees Cook, I debugged this problem and found out that this is happening because of waiting on ext4 journals. I can see currently there is a ext4 thread going on for doing journal commit in two phases:
Phase 1) wake up the journal commit threads
(Do some other work)
Phase 2) wait for the commit to finish.
Once that is done we should have a solution. I will follow-up this thread and pick the solution from there.