[PATCH openEuler-5.10 05/23] block: fix sleeping function called from invalid context in part_get_stat_info()