Re: NDirectFileRead and Write

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: NDirectFileRead and Write
Дата
Msg-id 20080908180748.983F.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: NDirectFileRead and Write  ("Hitoshi Harada" <umi.tanuki@gmail.com>)
Список pgsql-hackers
"Hitoshi Harada" <umi.tanuki@gmail.com> wrote:

> so I guess all of these variables should be defined together but
> actually you put the two in buffile.h while the others in
> buf_internals.h. Is there clear reason for that?

That's because buffile.c includes buffile.h, but not buf_internals.h .
NDirectFileRead/Writes are counters for BufFile in the patch
and don't depend on bufmgr.

It might be cleaner if we had something like storage/bufstats.h
and declared all counter variables in it, but it seems to be an overkill.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Prototype: In-place upgrade v02
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: Synchronous Log Shipping Replication