Spdk/lib/event
Jim Harris 5deb90b002 event: simplify sleep code in _spdk_reactor_run
This sleep functionality is only really used by the stub
app currently.  nvmf target enables it, but it never
gets exercised since there is always a poller running on
each core.  So don't bother trying to count how long
the reactor didn't take action - try to sleep any time
where the loop did not take action.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: If48cc3f989347811190de67a6423932d0b77cf45

Reviewed-on: https://review.gerrithub.io/423577
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2018-08-28 16:04:16 +00:00
..
rpc rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
subsystems lib/iscsi: export FirstBurstLength as user configurable parameter 2018-08-27 19:42:07 +00:00
app.c app: Add check for duplicated options. 2018-08-22 20:33:53 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
reactor.c event: simplify sleep code in _spdk_reactor_run 2018-08-28 16:04:16 +00:00
rpc.c thread: Replace #include of io_channel.h with thread.h 2018-06-12 15:24:07 +00:00
subsystem.c event: allow subsystem to write configuration in async way 2018-03-27 02:57:28 -04:00