[linux-cifs-client] truncated directory listings on 2.4 kernel

Steve French smfltc at us.ibm.com
Fri Dec 5 21:40:24 GMT 2003


I noticed truncated directory listings on 2.4.22 kernel with the cifs
vfs for a directory larger than about 90 entries or so.  I rebuilt with
some additional trace code (since the existing trace code showed no
errors - I was adding a check to see if the kernel was returning a bad
return code on fildir) and have been unable to reproduce the problem.  I
have not seen this on 2.6 either. I had assumed that the kernel was out
of memory and was failing when cifs_readdir called kernel routine
filldir for the later entries.

Has anyone seen missing directory entries? In the case of 90 entries in
a directory only the first 37 were displayed by ls (all 90 were returned
by the cifs vfs code), for 127 entries slightly fewer (about 31 were
returned by ls).  Hasn't failed since.



More information about the linux-cifs-client mailing list