Hello Danny Travis,

I am assuming you are using generic Samba 2.2.3a version. We came across the
problem and you can fix it by setting the cache variable on the devnm()
system cal to 1.

Just set the last parameter to the devnm() call in smbd/quotas.c to 1.

###################################
# ./samba2.2/source/smbd/quotas.c #
###################################
912a913,919
>       #ifdef HPUX
>       /* Need to set the cache flag to 1 for HPUX. Seems
>        * to have a significant performance boost when
>        * lstat calls on /dev access this function.
>        */
>       (devnm(S_IFBLK, S.st_dev, dev_disk, 256, 1)<0)) return (False);
>       #else
913a921
>       #endif

Thanks,
Ranjit @ HP CIFS Team

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to