LWN.net Logo

Linux Storage and Filesystem Workshop, day 2

Linux Storage and Filesystem Workshop, day 2

Posted Apr 11, 2009 0:27 UTC (Sat) by neilbrown (subscriber, #359)
Parent article: Linux Storage and Filesystem Workshop, day 2

readdirplus()

The creation of this system call looks like an opportunity to leave some old mistakes behind. So, for example, it will not support seeking within a directory.

There is some irony here. The name "readdirplus" comes from NFS - NFSv3 introduced a READDIRPLUS protocol request for exactly the same reason.

And to support NFS, you absolutely need to be able to seek within a directory. It is conceivable that some .x version of NFSv4 might remove this requirement. But until we agree to stop supporting NFSv3, we need to be able to seek within a directory.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds