Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory leak)
От
ITAGAKI Takahiro
Тема
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory leak)
Дата
Msg-id
20050203181338.9BDF.ITAGAKI.TAKAHIRO@lab.ntt.co.jp
Ответ на
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (Mark Wong)
Список
Дерево обсуждения
WAL: O_DIRECT and multipage-writer ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer Mark Wong <markw@osdl.org>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer ITAGAKI Takahiro <itagaki@tiara.ocn.ne.jp>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer Mark Wong <markw@osdl.org>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory leak) ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory leak) Mark Wong <markw@osdl.org>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory Bruce Momjian <pgman@candle.pha.pa.us>
Memory leak in BootStrapXLOG() ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer (+ memory Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] WAL: O_DIRECT and multipage-writer Mark Wong <markw@osdl.org>
Hello everyone.
I fixed two bugs in the patch that I sent before.
Check and test new one, please.
1. Fix update timing of Write->curridx. (pointed by Tom)
Change to update it soon after write().
2. Fix buffer alignment routine on 64bit cpu. (pointed by Mark)
I checked it on Xeon EM64T and it worked properly, but I don't have IA64...
BTW, I found memory leak in BootStrapXLOG(). The buffer allocated by malloc()
is not free()ed. ISSUE_BOOTSTRAP_MEMORYLEAK in this patch points out it.
(But this leak is not serious, because this function is called only once.)
ITAGAKI Takahiro
В списке pgsql-patches по дате отправления
От: Mark Kirkwood
Дата: