[issue5396] os.read not handling O_DIRECT flag

2019-09-13 Thread Michael Mol
Michael Mol added the comment: I wound up writing it in C++ instead, and my then-employer eventually opened my code. https://github.com/VirtualInterconnect/diskstress -- ___ Python tracker <https://bugs.python.org/issue5

[issue5396] os.read not handling O_DIRECT flag

2016-09-13 Thread Michael Mol
Michael Mol added the comment: I need to remember not to try to write quick programs in Python that need O_DIRECT. My use case: I'm attempting to write a program that forces the disk to seek to a particular place, as part of burning in the disk. My algorithm goes: 1. Seek to the beginning