| To: | Felix Blyakher <felixb@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] xfstests: fix async io error handling in fsx |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Mon, 30 Mar 2009 14:56:24 -0400 |
| Cc: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <2466E954-2122-4FEB-B3DA-8F06AA22BAB7@xxxxxxx> |
| References: | <1238391050-14211-1-git-send-email-felixb@xxxxxxx> <20090330175451.GA1041@xxxxxxxxxxxxx> <2466E954-2122-4FEB-B3DA-8F06AA22BAB7@xxxxxxx> |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Mon, Mar 30, 2009 at 01:53:21PM -0500, Felix Blyakher wrote:
>>> + /*
>>> + * The b0rked libaio defines event.res as signed.
>>> + * However the kernel strucuture has it unsigned,
>>> + * and it's used to pass negated error value.
>>> + * Till the library is fixed use the temp var.
>>> + */
>>
>> This comment seems backwards to the patch description and the actual
>> code.
>
> Hmm, not really.
> If the libaio library would be correct (do you know whom to talk
> to and where to send a patch), the code would look like this:
Yeah, but shouldn't the comment read:
/*
* The b0rked libaio defines event.res as *unsigned*.
* However the kernel strucuture has it *signed*,
* and it's used to pass negated error value.
* Till the library is fixed use the temp var.
*/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Corruption of in-memory data, Martin Steigerwald |
|---|---|
| Next by Date: | Re: [PATCH] xfstests: fix async io error handling in fsx, Felix Blyakher |
| Previous by Thread: | Re: [PATCH] xfstests: fix async io error handling in fsx, Felix Blyakher |
| Next by Thread: | Re: [PATCH] xfstests: fix async io error handling in fsx, Felix Blyakher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |