Skip to contentSkip to conversation

xenbus_dev_request_and_reply() checking for transaction end

DISCUSSION Jan Beulich 1 participant 1 message Oct 18, 2007

lore
Share & tools
lore
#0 lore raw

Jeremy,

what is the motivation for doing

	if ((msg->type == XS_TRANSACTION_END) ||

where linux-2.6.18-xen does

	if ((req_msg.type == XS_TRANSACTION_END) ||

? Is the intention to continue holding the mutex if sending the transaction end message fails? If so, wouldn't this also require all users of xenbus_transaction_end() to do proper error checking *and* re-issuing?

Thanks, Jan