+11
−22
Loading
The g_core_mask wasn't being used effectively, so change ublk_parse_core_mask() to always put the parsed core mask in g_core_mask instead of requiring caller to pass a cpumask pointer. Note: also change spdk_cpuset_parse() failure to return -EINVAL instead of -rc. This function typically just returns -1 instead of -EINVAL (or other negated errno) which should maybe be changed in the future but for now returning -EINVAL seems best. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I6b3e94c865970e0e6d4f6e2b75871e69ac3d0569 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17875 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>