Re: where are the getting buf data from disk really done?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sunpeng <bluevaley(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, noue(at)tpf(dot)co(dot)jp
Subject: Re: where are the getting buf data from disk really done?
Date: 2010-04-20 01:59:25
Message-ID: 15642.1271728765@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

sunpeng <bluevaley(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Smith 2010-04-20 02:06:32 Re: where are the getting buf data from disk really done?
Previous Message sunpeng 2010-04-20 00:34:26 where are the getting buf data from disk really done?