Revision 7469be95a487319514adce2304ad2af3553d2fc9 authored by Jan Beulich on 07 July 2016, 07:32:04 UTC, committed by David Vrabel on 08 July 2016, 10:14:26 UTC
xenbus_dev_request_and_reply() needs to track whether a transaction is open. For XS_TRANSACTION_START messages it calls transaction_start() and for XS_TRANSACTION_END messages it calls transaction_end(). If sending an XS_TRANSACTION_START message fails or responds with an an error, the transaction is not open and transaction_end() must be called. If sending an XS_TRANSACTION_END message fails, the transaction is still open, but if an error response is returned the transaction is closed. Commit 027bd7e89906 ("xen/xenbus: Avoid synchronous wait on XenBus stalling shutdown/restart") introduced a regression where failed XS_TRANSACTION_START messages were leaving the transaction open. This can cause problems with suspend (and migration) as all transactions must be closed before suspending. It appears that the problematic change was added accidentally, so just remove it. Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: <stable@vger.kernel.org> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
1 parent 0beef63
File | Mode | Size |
---|---|---|
00-INDEX | -rw-r--r-- | 826 bytes |
API.txt | -rw-r--r-- | 2.3 KB |
FMC-and-SDB.txt | -rw-r--r-- | 3.7 KB |
carrier.txt | -rw-r--r-- | 14.0 KB |
fmc-chardev.txt | -rw-r--r-- | 3.1 KB |
fmc-fakedev.txt | -rw-r--r-- | 1.6 KB |
fmc-trivial.txt | -rw-r--r-- | 464 bytes |
fmc-write-eeprom.txt | -rw-r--r-- | 4.3 KB |
identifiers.txt | -rw-r--r-- | 7.7 KB |
mezzanine.txt | -rw-r--r-- | 5.7 KB |
parameters.txt | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...