32-bit getdents(2) calls fail

Solution Verified - Updated -

Issue

  • Our storage admins are reporting that the getdents(2) call returns incorrect data in 32-bit mode, and actually throws an error when called against a large Isilon NFS filesystem.

  • The following shows 32-bit getdents throwing an error on a large Isilon filesystem, and strace showing the 32-bit getdent returning incorrect numbers of entities in almost all situations. Note the d_reclen==0 assertion.

Environment

  • Red Hat Enterprise Linux 5.7

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