[PATCH 6.12 052/230] block: cleanup and fix batch completion adding conditions