Messages in this thread | | | From | Jesse Pollard <> | Subject | Re: OT: why no file copy() libc/syscall ?? | Date | Wed, 19 Nov 2003 07:30:36 -0600 |
| |
On Tuesday 18 November 2003 09:49, Jamie Lokier wrote: > Andi Kleen wrote: > > > s/EINTR/short count/, of course :) > > > > That would be buggy because existing users of sendfile don't know > > about this and would silently only copy part of the file when a signal > > happens. > > That doesn't make sense. There aren't any existing users of sendfile > to copy files.
True. It also doesn't address the issue of what to do when the file copy is being done on a remote server and not by something local. Synchronizing a remote interrupt could really be nasty. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |