sbitmap: correct wake_batch recalculation to avoid potential IO hung