Since I work mostly with Lustre over a WAN I'd definitely like to see the larger readdir RPCs in Lustre to save on RTTs between clients and the MDS.  I'm just looking for some input to make sure I'm looking at the right changes.  I know Andreas had mentioned an issue with larger pages to me at LUG this year.<br>
<br>From the description I'm guessing the approach would be to request additioinal pages in the ll_dir_readpage similar to how read ahead is handled in ll_readpage.  mdc_readpage also needs to be changed to handle multiple pages and prep each page for bulk.  I think this makes the most sense because at least by default I see getdents64 only be called with a 4k buffer.  Otherwise it might make sense to change the ll_readdir functions to handle more pages and ll_get_dir_page to request additional pages and call read_cache_pages instead.<br>
<br>Jeremy<br>