Re: 2.7 block ramblings (was Re: DMA for ide-scsi?)

From: Alan Cox
Date: Sat Sep 20 2003 - 17:49:18 EST


On Sad, 2003-09-20 at 23:22, Jeff Garzik wrote:
> > Is that an error and change in behaviour ?
>
>
> No and yes. :)
>
> Current sg breaks the Unix model of write(2)... you shouldn't error out
> if the queue will "probably" become available again.

Thats what I thought - because apps want to know if the queue is full
when doing raw scsi work some of the time. Would the change break any
known apps - if not it seems fine (providing O_NDELAY is supported)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/