writeback: Fix occasional slow sync(1)