event/app: fix setting "single-file-segments"

This got broken in 93cb4a31 [1]

[1] 93cb4a31: event/app: Refactor initialization of app environment
in spdk_app_start()

This is a cherry pick of commit f8387acaa5 from master.

Change-Id: Id146ab10a0011d5f87efe1243f9bd689201b576b
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/413168
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/414060
This commit is contained in:
Dariusz Stojaczyk 2018-06-01 00:56:16 +02:00 committed by Daniel Verkamp
parent 494c365eca
commit 16c8d766b5

View File

@ -347,6 +347,7 @@ spdk_app_setup_env(struct spdk_app_opts *opts)
env_opts.mem_channel = opts->mem_channel;
env_opts.master_core = opts->master_core;
env_opts.mem_size = opts->mem_size;
env_opts.hugepage_single_segments = opts->hugepage_single_segments;
env_opts.no_pci = opts->no_pci;
rc = spdk_env_init(&env_opts);