summaryrefslogtreecommitdiff
path: root/drivers/xen/xenbus/xenbus_dev_frontend.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-12-02 07:15:45 +0100
committerJuergen Gross <jgross@suse.com>2016-12-09 10:59:13 +0100
commit3da96be58f2c8aaa86cfe78b16f837e610dfcfe2 (patch)
treeadbccc218d18d3473e39f121c97442f2f3a5ff67 /drivers/xen/xenbus/xenbus_dev_frontend.c
parent738662c35c491fc360bb6adcb8a0db88d87b5d88 (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 'drivers/xen/xenbus/xenbus_dev_frontend.c')
0 files changed, 0 insertions, 0 deletions