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

From: Jeff Garzik
Date: Sat Sep 20 2003 - 17:23:52 EST


Alan Cox wrote:
On Sad, 2003-09-20 at 19:28, Jeff Garzik wrote:

sg needs some modifications -- for example it errors out instead of sleeps on queue full -- but sounds good to me.


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.

Jeff



-
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/