btrfs: make sure logged extents complete in the current transaction v3