Direct I/O (O_DIRECT) read() of a local filesystem is returning EINVAL on RHEL

Solution Unverified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content