getdirentries rather than readdir in the Samba VFS layer

Richard Sharpe rsharpe at richardsharpe.com
Mon Feb 17 02:00:53 GMT 2003


Hi,

Given the performance improvements in using getdents/getdirentries on 
those systems that have them, it seems to me to be better to have 
getdirentries in the VFS rather than readdir. For those systems that do 
not have getdents and getdirentries, we would simply fall back to readdir 
in the VFS layer.

Does anyone have any comments? (Apart from the amount of work involved in 
doing it :-)

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com



More information about the samba-technical mailing list