From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andi Kleen Subject: Re: [HACKERS] Improve lseek scalability v3 Date: Fri, 16 Sep 2011 19:50:27 +0200 Message-ID: <20110916175027.GF7761@one.firstfloor.org> References: <1316128013-21980-1-git-send-email-andi@firstfloor.org> <201109161616.50004.andres@anarazel.de> <20110916153620.GA9913@parisc-linux.org> <201109161927.34472.andres@anarazel.de> <1316194619-sup-2946@alvh.no-ip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andres Freund , Matthew Wilcox , Andi Kleen , viro , linux-fsdevel , linux-kernel , robertmhaas , Pg Hackers To: Alvaro Herrera Return-path: Content-Disposition: inline In-Reply-To: <1316194619-sup-2946@alvh.no-ip.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org > 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