Displaying 2 results from an estimated 2 matches for "dev_disk".
2003 May 01
1
Disc quotas bug
...tas.c, line 915] revealed that
an "#ifdef HPUX" hash define enclosing a new optimisation - involving
devnm(3) caching - had caused the following line:
euser_id = geteuid();
not to be executed: Hence failure of the subsequent line:
r=quotactl(Q_GETQUOTA, dev_disk, euser_id, &D);
to return quota information.
Bug Fix
=======
[djn /home/staff3/tech/djn]$ diff -U 10 quotas.c.cln quotas.c
XXXXXXXXXXXXXXXXXXXXXXXXX SNIP XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
--- quotas.c.cln Wed Mar 26 11:45:19 2003
+++ quotas.c Wed Apr 30 10:21:57 2003...
2003 Jan 07
1
smbd using alot of cpu on HP-UX 11.11
...###################################
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