[PATCH 4.19 166/190] dm thin metadata: check if in fail_io mode when setting needs_check