| 46 | |
| 47 | public: |
| 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 |
no test coverage detected