add block error state

Signed-off-by: franklin <flin1866@gmail.com>