Re: [Pvfs2-developers] Listing performance patch

2008-09-11 Thread Phil Carns
Hi Bart, I fixed a silly bug in our readdir logic just now, and now your patch works fine for the case I was looking at. I applied the dirent increase patch to trunk. I now get the correct number of getdents calls (using ext3 for comparison) on PVFS: getdents64(3, /* 170 entries */, 4096)

Re: [Pvfs2-developers] Listing performance patch

2008-09-11 Thread Phil Carns
I looked at the code a little just now. The getdents system call passes a filldir() callback function into the file system readdir() implementation that lets it fill entries until the user's dentry buffer is full. The dentries at this level use variable length strings. The only remaining cap