Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   dholland
Date:           Sun Jan 29 06:40:58 UTC 2012

Modified Files:
        src/include: quota.h
        src/sys/kern: vfs_quotactl.c
        src/sys/sys: quota.h quotactl.h
        src/sys/ufs/ufs: ufs_quota.c ufs_quota.h ufs_quota1.c ufs_quota2.c

Log Message:
Per the FS-independent schema, get one quotaval at a time from the
filesystem, instead of blocks and files together.

This results in fetching each FS-level quota entry twice and therefore
doing slightly more work, but (1) quota access isn't a critical path
and (2) after fetching the block values the file values will be hot in
the cache, so it won't add much total time.

Also move more of the FS-independent defintions from <quota.h> to
<sys/quota.h> so we can use them internally.

Step 4 of 5 for QUOTACTL_GET.

Note: this change requires a kernel version bump.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/include/quota.h
cvs rdiff -u -r1.8 -r1.9 src/sys/kern/vfs_quotactl.c
cvs rdiff -u -r1.8 -r1.9 src/sys/sys/quota.h
cvs rdiff -u -r1.6 -r1.7 src/sys/sys/quotactl.h
cvs rdiff -u -r1.76 -r1.77 src/sys/ufs/ufs/ufs_quota.c
cvs rdiff -u -r1.3 -r1.4 src/sys/ufs/ufs/ufs_quota.h
cvs rdiff -u -r1.8 -r1.9 src/sys/ufs/ufs/ufs_quota1.c
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/ufs/ufs_quota2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index