xen-scsifront: don't deadlock if the ring becomes full
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 11 Sep 2014 13:20:04 +0000 (14:20 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 3 Oct 2014 11:34:40 +0000 (12:34 +0100)
commit7921a11c7b2929f3ed6fe9081edcf695c60b23c6
tree6e3a63b89cd2cc9559a4b572390a7805ce305594
parentf955371ca9d3986bca100666041fcfa9b6d21962
xen-scsifront: don't deadlock if the ring becomes full

scsifront_action_handler() will deadlock on host->host_lock, if the
ring is full and it has to wait for entries to become available.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
drivers/scsi/xen-scsifront.c