Re: [PATCH] Revert default wal_sync_method to fdatasync on Linux 2.6.33+
В списке pgsql-hackers по дате отправления:
| От | Andrew Dunstan |
|---|---|
| Тема | Re: [PATCH] Revert default wal_sync_method to fdatasync on Linux 2.6.33+ |
| Дата | |
| Msg-id | 4CFD9519.6020705@dunslane.net обсуждение исходный текст |
| Ответ на | Re: [PATCH] Revert default wal_sync_method to fdatasync on Linux 2.6.33+ (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On 12/06/2010 08:38 PM, Tom Lane wrote: > Josh Berkus<josh@agliodbs.com> writes: >> Making it support O_DIRECT would be possible but more complex; I don't >> see the point unless we think we're going to have open_sync_with_odirect >> as a seperate option. > Whether it's complex or not isn't really the issue. The issue is that > what test_fsync is testing had better match what the backend does, or > people will be making choices based on not-comparable test results. > I think we should have test_fsync just automatically fold in O_DIRECT > the same way the backend does. > > Indeed. We were quite confused for a while when we were dealing with this about a week ago, and my handwritten test program failed as expected but test_fsync didn't. Anything other than behaving just as the backend does violates POLA, in my view. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера