-----Original Message-----
From: Trevor Kramer <trevordkramer(a)gmail.com>
Sent: Thursday, April 30, 2020 11:50 AM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] threads
Is it allowed to connect to a nvme in one thread (spdk_nvme_connect) and use
the controller handle returned in different threads to allocate and use qpairs
(spdk_nvme_ctrlr_alloc_io_qpair)? Or does everything have to be done in a
single thread? I'm seeing intermittent buffer corruption and I'm wondering if
this
could be the cause?
You are allowed to use a controller handle to create to create qpairs on different
threads. The only requirement is that an
individual io_qpair may only be used from a single thread - both submission and processing
completions.
>
> Thanks,
>
> Trevor
> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org
> To unsubscribe send an email to spdk-leave(a)lists.01.org