[PATCH 6.13 063/274] block: cleanup and fix batch completion adding conditions