From: Samuel Thibault Subject: Re: [PATCH 2/12] VTPM mini-os: posix IO layer for blkfront in mini-os Date: Mon, 14 Mar 2011 22:43:05 +0100 Message-ID: <20110314214305.GN4370@const.famille.thibault.fr> References: <4D7AA372.4040506@jhuapl.edu> <20110312010526.GK4922@const.famille.thibault.fr> <4D7E6772.2040606@jhuapl.edu> <20110314192945.GG4370@const.famille.thibault.fr> <4D7E896F.2080209@jhuapl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <4D7E896F.2080209@jhuapl.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Matthew Fioravante Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Matthew Fioravante, le Mon 14 Mar 2011 17:32:31 -0400, a =E9crit : > >>>>+ aiocb.aio_cb =3D NULL; > >>>Maybe blkfront_aio_cb should do it itself? It looks odd to have to = do > >>>it when reusing an aiocb structure. > >>> > I think I totally misunderstood you. With the last case are you just=20 > referring to how I keep having to set the callback to NULL everytime? Yes. > If so I totally agree with you. It should just set it back to NULL > when its done. >=20 > I thought you were talking about how I was handling writes to partial=20 > blocks and that somehow the low level blkfront functions should be doin= g=20 > this transparently. Nope. Samuel