• Waiman Long's avatar
    cgroup/cpuset: Show invalid partition reason string · 7476a636
    Waiman Long authored
    There are a number of different reasons which can cause a partition to
    become invalid. A user seeing an invalid partition may not know exactly
    why. To help user to get a better understanding of the underlying reason,
    The cpuset.cpus.partition control file, when read, will now report the
    reason why a partition become invalid. When a partition does become
    invalid, reading the control file will show "root invalid (<reason>)"
    where <reason> is a string that describes why the partition is invalid.
    Signed-off-by: default avatarWaiman Long <longman@redhat.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    7476a636
cpuset.c 110 KB