Thanks for your reply. It is helpful.
On 17 November 2017 at 11:27, Chang, Cunyin <cunyin.chang(a)intel.com> wrote:
We use spdk_nvme_qpair_process_completions() to poll the completion
commands, and we can "not" assume that the commands finished in the
same order as they submitted. Which means if you submit commands A B C,
they could be finished in any order.
> -----Original Message-----
> From: SPDK [mailto:firstname.lastname@example.org] On Behalf Of Li Wang
> Sent: Friday, November 17, 2017 11:04 AM
> To: Storage Performance Development Kit <spdk(a)lists.01.org>
> Subject: [SPDK] Out-of-order completion of nvme command?
> Hi guys,
> If I submit a set of read/write commands to a single queue pair using
> nvme interface and call the process_completion() function afterwards,
> the callback function be triggered in the same order as I submitted the
> commands? In other words, if I submit 3 IO commands, say C1, C2 and C3,
> with callback function F1, F2 and F3, respectively, will the sequence of
> callback function always be F1, F2 and F3?
> Li Wang
> SPDK mailing list
SPDK mailing list