Re: Improve lseek scalability v3

Поиск
Список
Период
Сортировка
От Andi Kleen
Тема Re: Improve lseek scalability v3
Дата
Msg-id 20110916175027.GF7761@one.firstfloor.org
обсуждение исходный текст
Ответ на Re: Improve lseek scalability v3  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
> One other thing we're interested in is portability.  I mean, even if
> Linux were to introduce a new hypothetical syscall that was able to
> return the file size at a ridiculously low cost, we probably wouldn't
> use it because it'd be Linux-specific.  So an improvement of lseek()
> seems to be the best option.

Fully agreed. It doesn't make any sense at all to implement special
syscalls just to workaround a basic system call not scaling.

-Andi


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: patch: plpgsql - remove unnecessary ccache search when a array variable is updated
Следующее
От: Matthew Wilcox
Дата:
Сообщение: Re: Improve lseek scalability v3