All of lore.kernel.org
 help / color / mirror / Atom feed
* [Lustre-devel] Large readdir RPCs project
@ 2010-09-28 13:14 Jeremy Filizetti
  2010-09-29  7:44 ` Fan Yong
  0 siblings, 1 reply; 6+ messages in thread
From: Jeremy Filizetti @ 2010-09-28 13:14 UTC (permalink / raw)
  To: lustre-devel

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.

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.

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20100928/40575d40/attachment.htm>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-10-13 16:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 13:14 [Lustre-devel] Large readdir RPCs project Jeremy Filizetti
2010-09-29  7:44 ` Fan Yong
2010-09-29 19:01   ` Jeremy Filizetti
2010-09-30  1:56     ` Fan Yong
2010-10-13 16:04       ` Jeremy Filizetti
2010-10-13 16:32         ` Fan Yong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.