[issue38167] O_DIRECT read fails with 4K mmap buffer

Paul report at bugs.python.org
Fri Sep 13 23:47:59 EDT 2019


Paul <paul.carlisle at gmail.com> added the comment:

This is the platform that I'm working on as well as the failure.  I have a review out for a fix.

# uname -a
Linux init129-13 3.10.0-957.el7.x86_64 x86_64 x86_64 x86_64 GNU/Linux
# python3.7 directread.py
Traceback (most recent call last):
  File "small.py", line 7, in <module>
    fo.readinto(m)
OSError: [Errno 22] Invalid argument

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38167>
_______________________________________


More information about the Python-bugs-list mailing list