iscsi: fix comment issue. If not specified reactor mask , we only use core 0. (#48)
This commit is contained in:
parent
22b12b319e
commit
11381f3b3c
@ -16,7 +16,7 @@
|
||||
|
||||
# Users can restrict work items to only run on certain cores by
|
||||
# specifying a ReactorMask. Default is to allow work items to run
|
||||
# on all cores.
|
||||
# on core 0.
|
||||
#ReactorMask 0xFFFF
|
||||
|
||||
# Tracepoint group mask for spdk trace buffers
|
||||
|
@ -320,8 +320,8 @@ spdk_app_init(struct spdk_app_opts *opts)
|
||||
|
||||
/*
|
||||
* If mask not specified on command line or in configuration file,
|
||||
* reactor_mask will be NULL which will enable all cores to run
|
||||
* reactors.
|
||||
* reactor_mask will be 0x1 which will enable core 0 to run one
|
||||
* reactor.
|
||||
*/
|
||||
if (spdk_reactors_init(opts->reactor_mask, opts->max_delay_us)) {
|
||||
fprintf(stderr, "Invalid reactor mask.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user