On Thu, May 8, 2014 at 3:05 PM, Paolo Bonzini <pbonz...@redhat.com> wrote:

>
>
> Decrements of reqs are never concurrent with writes of req_vq: before the
> decrement reqs will be != 0; after the decrement the virtqueue completion
> routine will not use the req_vq so it can be changed by a new request.  Thus
> they can happen outside the tgt_lock, provided of course we make reqs an
> atomic_t.

OK, will take above comment in V2.

> Otherwise looks good.

Thanks for your review.

Thanks,
-- 
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to