[lkml]   [2002]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: wait queue process state
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:26    [W:0.053 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site