Re: [PATCH v2] xen/scsifront: don't request a slot on the ring until request is ready

From: Juergen Gross
Date: Fri Dec 09 2016 - 05:13:40 EST

On 02/12/16 07:15, Juergen Gross wrote:
> Instead of requesting a new slot on the ring to the backend early, do
> so only after all has been setup for the request to be sent. This
> makes error handling easier as we don't need to undo the request id
> allocation and ring slot allocation.
> Suggested-by: Jan Beulich <jbeulich@xxxxxxxx>
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Commited to xen/tip.git for-linus-4.10