+16
−17
Loading
When using vfio a warning for memlock limit is printed. TARGET_USER is one set by caller when executing the script, or set to user that called the script (even when using sudo). Yet ulimit was printed for the one executing the script, most likely root. This patch verifies ulimit for a particular TARGET_USER. Along with more explicit information which user the information pertains to. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I20ad62109bc316295208e21f959ecfc263307e1c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1964 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>