Alfred Perlstein <[EMAIL PROTECTED]> writes: > How many files need to be fsync'd? Only one. > If it's more than one, what might work is using mmap() to map the > files in adjacent areas, then calling msync() on the entire range, > this would allow you to batch fsync the data. Interesting thought, but mmap to a prespecified address is most definitely not portable, whether or not you want to assume that plain mmap is ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
- Re: [HACKERS] Allowing WAL fsync t... Tom Lane
- Re: [HACKERS] Allowing WAL fsy... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fsync to be done... Lamar Owen
- Re: [HACKERS] Allowing WAL fsync to be done via... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be done... Tom Lane
- [HACKERS] Re: Allowing WAL fsync to be ... Thomas Lockhart
- Re: [HACKERS] Allowing WAL fsync to be done... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done via O_S... Bruce Momjian
- RE: [HACKERS] Allowing WAL fsync to be done via O_SYNC Mikheev, Vadim
- Re: [HACKERS] Allowing WAL fsync to be done via O_S... Alfred Perlstein
- Re: [HACKERS] Allowing WAL fsync to be done via... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be done... Alfred Perlstein
- Re[2]: [HACKERS] Allowing WAL fsync to be d... Xu Yifeng
- Re: Re[2]: [HACKERS] Allowing WAL fsync... Alfred Perlstein
- Re[4]: [HACKERS] Allowing WAL fsyn... Xu Yifeng
- Re: Re[4]: [HACKERS] Allowing ... Alfred Perlstein
- Re: Re[4]: [HACKERS] Allowing ... Tom Lane
- Re: Re[4]: [HACKERS] Allowing ... Alfred Perlstein
- Re: Re[4]: [HACKERS] Allowing ... Tom Lane
- Re: Re[4]: [HACKERS] Allowing ... The Hermit Hacker
- Re: Re[4]: [HACKERS] Allowing ... Larry Rosenman