[Samba] Performance issue on AIX when deleting files in adirectory with a large number of files

Jeremy Allison jra at samba.org
Thu May 11 23:06:37 GMT 2006


On Thu, May 11, 2006 at 03:54:17PM -0700, Jeremy Allison wrote:
> 
> Do you see the change notify replies happening followed by the
> change notify setups ? I bet I know what it is....
> 
> Because AIX doesn't have kernel change notify when the change
> notify setup comes (which happens after every delete) it causes a
> directory rescan at that point - after *each* delete !

I think I can code around this. The key is to ensure that
setting "change notify timeout" to zero turns off change
notify except for renames and deletes. Also make it a per-share
parameter so it can be set to zero for "large" directories...

Give me a day or so on this.

Jeremy.


More information about the samba mailing list