Loading
bdev/aio: add sysctl hint when io_setup fails
Kernel has fs.aio-max-nr limit for maximum number of AIO requests on the whole system. It is possible for SPDK to exceed this limit (default 64K) with high core count applications and a lot of bdevs. So provide ERRLOG hint to user when io_setup() fails, to suggest increasing this limit. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I7ebebd20c23dbf2abb41fc8afc56ac11bcd3e699 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18232 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>