Re: O_DIRECT for relations and SLRUs (Prototype) - Mailing list pgsql-hackers

From Maksim Milyutin
Subject Re: O_DIRECT for relations and SLRUs (Prototype)
Date
Msg-id 891f2d23-e3c4-fee4-2e12-78aeec29fc43@gmail.com
Whole thread Raw
In response to Re: O_DIRECT for relations and SLRUs (Prototype)  (Michael Paquier <michael@paquier.xyz>)
Responses Re: O_DIRECT for relations and SLRUs (Prototype)  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 1/15/19 11:28 AM, Michael Paquier wrote:

> On Tue, Jan 15, 2019 at 11:19:48AM +0500, Andrey Borodin wrote:
>> Is it possible to avoid those memcpy's by aligning available buffers
>> instead?  I couldn't understand this from the patch and this thread.
> Sure, it had better do that.  That's just a lazy implementation.


Hi!

Could you specify all cases when buffers will not be aligned with BLCKSZ?

AFAIC shared and temp buffers are aligned. And what ones are not?


-- 
Regards, Maksim Milyutin



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: current_logfiles not following group access and instead follows log_file_mode permissions
Next
From: Andres Freund
Date:
Subject: Re: Pluggable Storage - Andres's take