[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 6/6] libvduse: Add support for reconnecting
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v2 6/6] libvduse: Add support for reconnecting |
Date: |
Tue, 15 Mar 2022 13:48:48 +0000 |
On Tue, Feb 15, 2022 at 06:59:43PM +0800, Xie Yongji wrote:
> +static int vduse_queue_inflight_get(VduseVirtq *vq, int desc_idx)
> +{
> + vq->log->inflight.desc[desc_idx].counter = vq->counter++;
> + vq->log->inflight.desc[desc_idx].inflight = 1;
Is a barrier needed between these two lines to prevent inflight = 1 with
an undefined counter value?
signature.asc
Description: PGP signature
- Re: [PATCH v2 6/6] libvduse: Add support for reconnecting,
Stefan Hajnoczi <=