Messages in this thread | ![/](/images/icornerl.gif) | | From | "gong, changbin" <> | Subject | Asking about Unbuffer I/O in linux | Date | Fri, 15 Oct 1999 14:41:41 -0400 |
| |
I met a problem which need me to use unbuffered I/O in linux. The problem is related to hard disk I/O. When I read from the Linux buffer cache, the other system may write new data to the hard disk, while the Linux buffer cache doesnot know it. So I try to find if there are some methods to disable the buffer function, then to make read directly from the disk. But when I went through the document and kernel source code( redhat 2.2.11), I could only find one function or flag to flush the buffer cache, which is in "ioctl" for the flag BLKFLSBUF. But it is so time-costing that I have to find another way. Could you give me some instructions on this issue? Thanks a lot.
Changbin
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |