Verified Commit 70fd346c authored by Marc Vef's avatar Marc Vef
Browse files

Force no blocking progress for psm2 on client

parent 0d0222da
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
#include <client/intercept.hpp>

#include <global/rpc/distributor.hpp>
#include <global/global_defs.hpp>

#include <fstream>

@@ -64,6 +65,9 @@ bool init_hermes_client(const std::string& transport_prefix) {
#if USE_SHM
        opts |= hermes::use_auto_sm;
#endif
        if (gkfs::rpc::protocol::ofi_psm2 == string(RPC_PROTOCOL)) {
            opts |= hermes::force_no_block_progress;
        }

        ld_network_service =
                std::make_unique<hermes::async_engine>(