Re: Improve lseek scalability v3 - Mailing list pgsql-hackers

From Andi Kleen
Subject Re: Improve lseek scalability v3
Date
Msg-id 20110916175027.GF7761@one.firstfloor.org
Whole thread Raw
In response to Re: Improve lseek scalability v3  (Alvaro Herrera <alvherre@commandprompt.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: patch: plpgsql - remove unnecessary ccache search when a array variable is updated
Next
From: Matthew Wilcox
Date:
Subject: Re: Improve lseek scalability v3