MCPcopy Create free account
hub / github.com/apple/foundationdb / init

Method init

fdbrpc/include/fdbrpc/AsyncFileEIO.actor.h:48–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47public:
48 static void init() {
49 eio_set_max_parallel(FLOW_KNOBS->EIO_MAX_PARALLELISM);
50 if (eio_init(&eio_want_poll, nullptr)) {
51 TraceEvent("EioInitError").detail("ErrorNo", errno);
52 throw platform_error();
53 }
54 }
55
56 static void stop() { eio_set_max_parallel(0); }
57

Callers 3

AsyncFileEIOMethod · 0.45
EvictablePageCacheMethod · 0.45
AsyncFileCachedMethod · 0.45

Calls 4

eio_set_max_parallelFunction · 0.85
eio_initFunction · 0.85
TraceEventClass · 0.85
detailMethod · 0.80

Tested by

no test coverage detected