Direct I/O (O_DIRECT) read() of a local filesystem is returning EINVAL on RHEL
Issue
10:39:38.638420 open("f", O_RDONLY|O_NONBLOCK|O_DIRECT) = 3 <0.000014>
10:39:38.638600 read(3, 0x22a20d0, 1810) = -1 EINVAL (Invalid argument) <0.000283>
Environment
- Red Hat Enterprise Linux 6.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
