+2
−1
Loading
There's some peculiar issue where reading this file line by line can be tainted by sudden updates to the file resulting in given fields being unrecognized by the get_proc_cpu_affinity(). To avoid that, make sure this file is read once in full before parsing. Change-Id: Ied4f03ada3b354b666df71f4d5f5d2467a874d98 Signed-off-by:Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25407 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>