for example, currently there is a crash when using the async stack (access of null pointer)
in case the user configured rdma for a code that was not compiled with RDMA
issue: 913397
Change-Id: I4e3d88006312a713b8d3aaefbdcd0596039270e1
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>
return std::make_shared<DPDKStack>(c, t);
#endif
+ lderr(c) << __func__ << " ms_async_transport_type " << t <<
+ " is not supported! " << dendl;
+ ceph_abort();
return nullptr;
}
else if (type == "dpdk")
return new DPDKWorker(c, i);
#endif
+
+ lderr(c) << __func__ << " ms_async_transport_type " << type <<
+ " is not supported! " << dendl;
+ ceph_abort();
return nullptr;
}