Re: We really ought to do something about O_DIRECT and data=journalled on ext4
В списке pgsql-hackers по дате отправления:
| От | Andrew Dunstan |
|---|---|
| Тема | Re: We really ought to do something about O_DIRECT and data=journalled on ext4 |
| Дата | |
| Msg-id | 4CF69C0A.8020701@dunslane.net обсуждение исходный текст |
| Ответ на | Re: We really ought to do something about O_DIRECT and data=journalled on ext4 (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-hackers |
On 12/01/2010 01:41 PM, Andres Freund wrote: > On Wednesday 01 December 2010 19:09:05 Tom Lane wrote: >> Josh Berkus<josh@agliodbs.com> writes: >>> It's a bug and it's our bug. >> No, it's a filesystem bug that this particular filesystem doesn't >> support a perfectly reasonable combination of options, and doesn't >> even fail gracefully as it could easily do. But assigning blame >> doesn't help much. > I wouldnt call it a reasonable combination - promising fs-level data- > journaling (data=journal) and O_DIRECT are not really compatible with each > other... > > OK, but how is an application supposed to know that data journaling is set. Postgres doesn't even look at the FS type, let alone the mount options. From the app's POV it's perfectly reasonable. If the OS is going to provide the API, it should expect people to use it. cheers andrew
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера