[Samba] Very high system load: Samba statfs call for filesystems in /etc/mtab in: fileid_load_mount_entries()

Jeremy Allison jra at samba.org
Wed Nov 12 14:33:08 MST 2014


On Wed, Nov 12, 2014 at 02:35:59PM +0100, Rainer Krienke wrote:
> 
> My question now is, if the stat calls that are probably triggered in
> sambas function  fileid_load_mount_entries() are really needed for bind
> mounts? The information of the stat calls will probably be identical to
> the underlying NFS mounted filesystem /import/user1, /import/user2.
> Wouldn't it make sense to exclude bind mounted filesystems
> from the stat call but instead limit the stat calls to the rest of the
> filesystems?

How can you portably tell it's a bind mount ?

Is there a flag in struct mntent ?


More information about the samba mailing list