Re: Block-level CRC checks - Mailing list pgsql-hackers

From Jonah H. Harris
Subject Re: Block-level CRC checks
Date
Msg-id 36e682920810020646r4c896440he466bc3610237fb3@mail.gmail.com
Whole thread Raw
In response to Re: Block-level CRC checks  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
On Thu, Oct 2, 2008 at 9:42 AM, Gregory Stark <stark@enterprisedb.com> wrote:
> It's even worse than that. Two processes can both be fiddling hint bits on
> different tuples (or even the same tuple) at the same time.

Agreed.  Back to the double-buffer idea, we could have a temporary
BLCKSZ buffer we could use immediately before write() which we could
copy the block to, perform the checksum on, and write out... is that
what you were thinking Tom?

-- 
Jonah H. Harris, Senior DBA
myYearbook.com


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: Block-level CRC checks
Next
From: Heikki Linnakangas
Date:
Subject: Re: Block-level CRC checks