improved check_all_diskstat logic