diff options
author | Juergen Gross <jgross@suse.com> | 2016-12-02 07:15:45 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2016-12-09 10:59:13 +0100 |
commit | 3da96be58f2c8aaa86cfe78b16f837e610dfcfe2 (patch) | |
tree | adbccc218d18d3473e39f121c97442f2f3a5ff67 /arch | |
parent | 738662c35c491fc360bb6adcb8a0db88d87b5d88 (diff) |
xen/scsifront: don't request a slot on the ring until request is ready
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@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions