Fix build without RDMA
This commit is contained in:
@@ -516,10 +516,12 @@ void osd_messenger_t::accept_connections(int listen_fd)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WITH_RDMA
|
||||||
bool osd_messenger_t::is_rdma_enabled()
|
bool osd_messenger_t::is_rdma_enabled()
|
||||||
{
|
{
|
||||||
return rdma_context != NULL;
|
return rdma_context != NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
json11::Json osd_messenger_t::read_config(const json11::Json & config)
|
json11::Json osd_messenger_t::read_config(const json11::Json & config)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user