From: Mark Williamson Subject: Re: Why are I/O rings bidirectional? Date: Mon, 7 Feb 2005 23:00:09 +0000 Message-ID: <200502072300.09635.maw48@cl.cam.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net, McGroarty List-Id: xen-devel@lists.xenproject.org > Hello. I am reading Xen and the Art of Virtualization. I am curious as > to why the async I/O ring buffers contain both requests and responses > in the same ring. Requests contain details of the IO to be done. Responses notify the domain when the IO is complete and whether it was successful or not. Requests can complete out of order, so it's necessary to have response messages following back to the domain to tell it when each request is done. If the requests were always dealt with in order it would not be necessary to have responses flowing back, so the ring could be unidirectional. The Safe Hardware Access paper has more details about the IO rings work. HTH, Mark ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click