Re: Q: I/O to block devices
From: Andrew Morton
Date: Wed Oct 11 2006 - 21:09:26 EST
On Mon, 09 Oct 2006 13:39:34 +0200
"Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx> wrote:
> I'm surprised: To my knowledge I/O to block devices is synchronous (at least write
> I thought)
Nope. But the kernel will sync the device on the final close.
Try doing `sleep 10000000 < /dev/sda &' and the run the tests...
-
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/