You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The readdir fonction of the filesystem is called twice : the first entry is retained, but the second one is wasted, as the filldir callback buffer has only one entry. Add a maximum count as a new parameter to speed up directory listing, or simplify the whole.
The text was updated successfully, but these errors were encountered:
According to the readdir(2) man page, there is no need to iterate in the readdir operation of a directory inode, as only one dentry is to be returned. So the simplest optimization is to simplify readdir in each filesystem: minix_readdir, msdos_readdir and romfs_readdir.
The
readdir
fonction of the filesystem is called twice : the first entry is retained, but the second one is wasted, as thefilldir
callback buffer has only one entry. Add a maximum count as a new parameter to speed up directory listing, or simplify the whole.The text was updated successfully, but these errors were encountered: