From: Jan Blunck Subject: Re: sendfile Date: Tue, 07 Jun 2005 17:46:03 +0200 Message-ID: <42A5C13B.80605@tu-harburg.de> References: <20050606062452.GB6951@a5.repetae.net> <42A412E2.500@tu-harburg.de> <20050607070645.GA6431@a5.repetae.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: fsdevel Return-path: Received: from smtp2.rz.tu-harburg.de ([134.28.205.13]:55843 "EHLO smtp2.rz.tu-harburg.de") by vger.kernel.org with ESMTP id S261156AbVFGPqQ (ORCPT ); Tue, 7 Jun 2005 11:46:16 -0400 To: frederik@ofb.net In-Reply-To: <20050607070645.GA6431@a5.repetae.net> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Frederik Eaton wrote: > > How could they block the system? Couldn't you send just as much data > over a socket? > Yeah, but the sending kernel will sleep (and reschedule) while the receiving side of the socket is processing the data. Don't know if it is interruptable, though. With the actual patches for file->file sendfile() a non-preemptive kernel would block on copying big files. Additionally, they doesn't handle signals and therefore the sendfile() isn't interruptable. > > Meaning they won't be incorporated ever, or yet? > I can't read Linus mind but he was quite clear with his comments about them (http://marc.theaimsgroup.com/?t=109455992100001&r=1&w=2). Jan