Re: [PATCH 09/15] Make selection of 'readdir-plus' adapt to usage patterns.

2013-05-07 Thread Jiri Slaby
On 05/07/2013 04:27 PM, Myklebust, Trond wrote: > On Tue, 2013-05-07 at 16:18 +0200, Jiri Slaby wrote: >> From: NeilBrown >> >> While the use of READDIRPLUS is significantly more efficient than >> READDIR followed by many GETATTR calls, it is still less efficient >> than just READDIR if the attrib

Re: [PATCH 09/15] Make selection of 'readdir-plus' adapt to usage patterns.

2013-05-07 Thread Myklebust, Trond
On Tue, 2013-05-07 at 16:18 +0200, Jiri Slaby wrote: > From: NeilBrown > > While the use of READDIRPLUS is significantly more efficient than > READDIR followed by many GETATTR calls, it is still less efficient > than just READDIR if the attributes are not required. > > We can get a hint as to wh

[PATCH 09/15] Make selection of 'readdir-plus' adapt to usage patterns.

2013-05-07 Thread Jiri Slaby
From: NeilBrown While the use of READDIRPLUS is significantly more efficient than READDIR followed by many GETATTR calls, it is still less efficient than just READDIR if the attributes are not required. We can get a hint as to whether the application requires attr information by looking at wheth