Re: Non-reproducible AIO failure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Non-reproducible AIO failure
Date
Msg-id 1343638.1749166311@sss.pgh.pa.us
Whole thread Raw
In response to Re: Non-reproducible AIO failure  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Responses Re: Non-reproducible AIO failure
List pgsql-hackers
Matthias van de Meent <boekewurm+postgres@gmail.com> writes:
> I have a very wild guess that's probably wrong in a weird way, but
> here goes anyway:
> Did anyone test if interleaving the enum-typed bitfield fields of
> PgAioHandle with the uint8 fields might solve the issue?

Ugh.  I think you probably nailed it.

IMO all those struct fields better be declared uint8.

            regards, tom lane



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: [PATCH] Re: Proposal to Enable/Disable Index using ALTER INDEX
Next
From: Tatsuo Ishii
Date:
Subject: Re: Retiring some encodings?