Messages in this thread | | | Subject | Re: wait queue process state | From | Alan Cox <> | Date | 29 May 2002 01:21:47 +0100 |
| |
On Wed, 2002-05-29 at 00:05, Benjamin LaHaise wrote: > On Tue, May 28, 2002 at 04:01:43PM -0700, jw schultz wrote: > > The read system call is interuptable, period. Disk access > > is considered slow. If you code asuming it will not be > > interupted or that an interupt will cause a return of -1 > > your code may break on Linux and will certainly not be > > portable. > > Linux does not permit interrupting regular file reads on local disks; > only NFS supports it. Maybe 2.5 is the time to change this.
What Unix and standards say and do make that one unfortunately a very bad idea. Its true that to the letter of the specs you can do interruptible disk I/O. Its also true to the real world that vast amounts of software breaks in subtle, unreported, oh hell what ate my file kind of ways
- 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/
| |