Btrfs: do extent allocation and reference count updates in the background