Re: where are the getting buf data from disk really done? - Mailing list pgsql-general

From Tom Lane
Subject Re: where are the getting buf data from disk really done?
Date
Msg-id 15642.1271728765@sss.pgh.pa.us
Whole thread Raw
In response to where are the getting buf data from disk really done?  (sunpeng <bluevaley@gmail.com>)
List pgsql-general
sunpeng <bluevaley@gmail.com> writes:
> I noticed at the function StartBufferIO() in bufmgr.c, there is no really
> getting buffer data from disk, only set InProgressBuf = buf; and return
> true;
> i wondered where is the getting buf data from disk really done?

The caller.  StartBufferIO is only concerned with interlocking multiple
backends that might try to read (or write) the same buffer.

            regards, tom lane

pgsql-general by date:

Previous
From: sunpeng
Date:
Subject: where are the getting buf data from disk really done?
Next
From: Greg Smith
Date:
Subject: Re: where are the getting buf data from disk really done?