[issue5396] os.read not handling O_DIRECT flag
Eduardo Aguiar
report at bugs.python.org
Sun Mar 15 16:52:08 CET 2009
Eduardo Aguiar <aguiar at users.sourceforge.net> added the comment:
Hi,
I think I have a few more issues you can consider:
1) to allocated an aligned buffer it is as simple as allocate 4096 + len
(buffer) and truncate address to 4k boundary.
2) I wrote a floppy imager, and without O_DIRECT, it gives me 8 sectors
(4k = kernel page) errors whenever one sector is bad.
3) There is os.O_DIRECT and os.open help page references it
Best regards,
Eduardo Aguiar
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5396>
_______________________________________
More information about the Python-bugs-list
mailing list