From: Ian Jackson Subject: Re: Windows Bug Check 0x101 issue Date: Wed, 26 Mar 2008 10:39:28 +0000 Message-ID: <18410.10208.666562.966370@mariner.uk.xensource.com> References: <7k4pawfnxs.fsf@pingu.sky.yk.fujitsu.co.jp> <7k1w5zf50j.fsf@pingu.sky.yk.fujitsu.co.jp> <18408.57824.846687.465435@mariner.uk.xensource.com> <20080325175718.GT4411@implementation.uk.xensource.com> <7ky786dkup.fsf@pingu.sky.yk.fujitsu.co.jp> <18410.9596.488204.878357@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <18410.9596.488204.878357@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: xen-devel@lists.xensource.com, Keir Fraser , Kouya Shimura , Samuel Thibault List-Id: xen-devel@lists.xenproject.org Ian Jackson writes ("Re: [Xen-devel] Windows Bug Check 0x101 issue"): > If you do that then callers who get NULL from bdrv_aio_flush will know > that it is actually an error. Sorry, rereading the code I see that that's not quite right. bdrv_aio_* routines return NULL to indicate that the callback has already been done; any error is given to the callback to handle. That's what this one should do; that part code should look quite like the innards of bdrv_aio_read_em. Ian.