* Re: [SPDK] nvmf/rdma: handling QP errors
@ 2018-04-06 17:37 Walker, Benjamin
0 siblings, 0 replies; 2+ messages in thread
From: Walker, Benjamin @ 2018-04-06 17:37 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]
On Thu, 2018-04-05 at 23:17 +0000, Philipp Skadorov wrote:
> Hi there,
> Looking at the list of errors ibv_get_async_event offers – would it make sense
> to monitor them in the polling loops?
> Right now, per my understanding, the only way SPDK gets that things go wrong
> is: when initiator issues disconnect.
> Any thoughts?
I agree with you. Monitoring for network errors this way is probably going to be
the right path forward. The challenge is doing it in a way that doesn't impact
performance, which means doing this polling inline with the code that attempts
to accept new connections. Take a look at the function "spdk_nvmf_rdma_accept",
which periodically polls rdma_get_cm_event to detect new or removed connections.
I wouldn't be surprised if rdma_get_cm_event is actually built on top of
ibv_get_async_event, but it certainly provides less detail.
>
> Regards,
> Philipp
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
> https://lists.01.org/mailman/listinfo/spdk
^ permalink raw reply [flat|nested] 2+ messages in thread
* [SPDK] nvmf/rdma: handling QP errors
@ 2018-04-05 23:17 Philipp Skadorov
0 siblings, 0 replies; 2+ messages in thread
From: Philipp Skadorov @ 2018-04-05 23:17 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
Hi there,
Looking at the list of errors ibv_get_async_event offers - would it make sense to monitor them in the polling loops?
Right now, per my understanding, the only way SPDK gets that things go wrong is: when initiator issues disconnect.
Any thoughts?
Regards,
Philipp
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 2177 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-06 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-06 17:37 [SPDK] nvmf/rdma: handling QP errors Walker, Benjamin
-- strict thread matches above, loose matches on Subject: below --
2018-04-05 23:17 Philipp Skadorov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.