Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932841AbcLIKNi (ORCPT ); Fri, 9 Dec 2016 05:13:38 -0500 Received: from mx2.suse.de ([195.135.220.15]:54300 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932345AbcLIKNh (ORCPT ); Fri, 9 Dec 2016 05:13:37 -0500 Subject: Re: [PATCH v2] xen/scsifront: don't request a slot on the ring until request is ready To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org References: <20161125202650.GK6266@mwanda> <20161202061545.14614-1-jgross@suse.com> Cc: boris.ostrovsky@oracle.com, lambert.quentin@gmail.com, linux-scsi@vger.kernel.org, dan.carpenter@oracle.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com From: Juergen Gross Message-ID: Date: Fri, 9 Dec 2016 11:13:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161202061545.14614-1-jgross@suse.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 440 Lines: 14 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 > Signed-off-by: Juergen Gross Commited to xen/tip.git for-linus-4.10 Juergen