getdirentries rather than readdir in the Samba VFS layer

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


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 :-)

Richard Sharpe, rsharpe[at], rsharpe[at], 

More information about the samba-technical mailing list