NFSv4 mount in Finder leads to a READDIR request that only requests a minimal set of attributes

Originator:dkocher
Number:rdar://43897386 Date Originated:
Status: Resolved:
Product:NFS Client Product Version:
Classification: Reproducible:Always
 
Listing a directory of a NFSv4 mount in Finder leads to a READDIR request that only requests a minimal set of attributes. The rest of the needed attributes are requested in subsequent GETATTR and ACCESS requests. For a large directory there many unnecessary requests issued which slows down the listing. To reduce the number of those requests you could extend the attr_request attribute in your READDIR requests to omit subsequent NFS reqeusts.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!