Commit 11381f3b authored by liupan1111's avatar liupan1111 Committed by Ben Walker
Browse files

iscsi: fix comment issue. If not specified reactor mask , we only use core 0. (#48)

parent 22b12b31
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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");