[PATCH v2 06/14] locks: don't walk inode->i_flock list in locks_show
idra at samba.org
Fri Jun 14 05:52:44 MDT 2013
On 06/13/2013 04:26 PM, Jeff Layton wrote:
> The only real solution I can think of is to put flock locks into the
> blocked_list/blocked_hash too, or maybe giving them a simple hlist to
> sit on.
> I'll fix that up in the next iteration. It'll probably make flock()
> tests run slower, but such is the cost of preserving this procfile...
How hard would it be to make the procfile stuff optional ?
So that those that need performance can decide to not use it ?
Maybe even something that can be disabled at run time ? Not just compile
More information about the samba-technical