[SPDK] Re: Print backtrace in SPDK

Andrey Kuzmin <andrey.v.kuzmin at gmail.com>
Newsgroups dev.linux.lists.spdk
Message-ID <CANvN+enrZNmjmtMa32vTyhE79j4uWOnD_Wb0voQPfnro6LMwUQ@mail.gmail.com>
On Sat, Aug 22, 2020, 10:14 Wenhua Liu <liuw(a)vmware.com> wrote:

> Hi,
>
> Does anyone know if there is a function in SPDK that prints the backtrace?
>

backtrace(3) lets you do that.

Regards,
Andrey


> I run into a “Connection Reset by Peer” issue on host side when testing
> NVMe/TCP. I identified it’s because some queue pairs are closed
> unexpectedly by calling nvmf_tcp_close_qpair, but I could not figure out
> how/why this function is called. I thought if the backtrace can be printed
> when calling this function, it might be helpful to me to find the root
> cause.
>
> Thanks,
> -Wenhua
> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org
> To unsubscribe send an email to spdk-leave(a)lists.01.org
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.