| От | Qingqing Zhou |
|---|---|
| Тема | Re: simplify register_dirty_segment() |
| Дата | |
| Msg-id | d4klmq$2imb$1@news.hub.org обсуждение исходный текст |
| Ответ на | simplify register_dirty_segment() ("Qingqing Zhou" <zhouqq@cs.toronto.edu>) |
| Список | pgsql-hackers |
"Tom Lane" <tgl@sss.pgh.pa.us> writes > It would be a reasonable > bet for a kernel designer to assume that fsync() is generally going to > have to wait for some I/O and so a bit of CPU overhead isn't really > going to matter. Reasonable. > > Adjusting such a global refcount would require global locks, which is > just what you were hoping to avoid :-( I don't want to avoid the global locks but to alleviate it :-( Think the frequency of open()/close() will be much less than write(). Also the shmem space required. On further thought, I agree that this is unneccessary if for BgWriterCommLock reason - because currently BufMgrLock doesn't bother us too much, which is more intensively used, this lock is just nothing. Regards, Qingqing
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера