Up to [cvs.netbsd.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.38.6.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:31 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.38.6.1: +194 -0
lines
Diff to previous 1.38.6.1 (colored) to branchpoint 1.38 (colored)
sync with head
Revision 1.38.4.2 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:34 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.38.4.1: +194 -0
lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored)
merge to -current.
Revision 1.38.6.1, Wed Feb 1 05:43:54 2012 UTC (3 months, 3 weeks ago) by yamt
Branch: yamt-pagecache
Changes since 1.38: +0 -194
lines
FILE REMOVED
file vfs_quotactl.c was added on branch yamt-pagecache on 2012-04-17 00:08:31 +0000
Revision 1.38.4.1, Wed Feb 1 05:43:54 2012 UTC (3 months, 3 weeks ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.38: +0 -194
lines
FILE REMOVED
file vfs_quotactl.c was added on branch jmcneill-usbmp on 2012-02-18 07:35:34 +0000
Revision 1.38 / (download) - annotate - [select for diffs], Wed Feb 1 05:43:54 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
HEAD
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.37: +4 -4
lines
Diff to previous 1.37 (colored)
Improve the names of some members of struct quotactl_args. These are effectively function parameter names, but since they need to be described with the same names in the man page the choices do matter. Some.
Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 1 05:34:41 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.36: +154 -864
lines
Diff to previous 1.36 (colored)
Change the syscall API for quotas over to the new non-proplib one.
- struct vfs_quotactl_args -> struct quotactl_args
- add sys/stdint.h to sys/quotactl.h for clean userland build
- install sys/quotactl.h in /usr/include
- update set lists for same
- add new marshalling code in libquota
- add new unmarshalling code in vfs_syscalls.c
- discard proplib interpreter code in vfs_quotactl.c
- add dispatching code for the 14 quotactl ops in vfs_quotactl.c
- mark the proplib quotactl syscall obsolete
- add a new syscall number for the new quotactl syscall
- change the name of the syscall to __quotactl()
- remove the decl of the old quotactl from quota/quotaprop.h
- add a decl of the new quotactl to sys/quotactl.h
- update the libc build
- update ktruss
- remove proplib marshalling code from libquota
- update copy of syscall table in gdb ppc sources
- hack rumphijack to accomodate new quotactl name (as I recall,
pooka wanted such a name change to simplify something, but I
don't really see what/how)
This change appears to require a kernel version bump for rumpish
reasons.
Revision 1.36 / (download) - annotate - [select for diffs], Sun Jan 29 07:21:59 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.35: +7 -7
lines
Diff to previous 1.35 (colored)
malloc -> kmem_alloc, by request of rmind
Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 29 07:14:38 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.34: +18 -19
lines
Diff to previous 1.34 (colored)
Remove the extra op argument to VFS_QUOTACTL() - the op is now stored purely in the args structure. This change requires a kernel version bump.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Jan 29 07:13:42 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.33: +18 -18
lines
Diff to previous 1.33 (colored)
Tidy up the VFS_QUOTACTL interface. Renumber the command codes in a logical order (as opposed to the previous order, which accumulated arbitrarily), remove the separate codes for argument encoding as there's now a 1-1 mapping between ops and argument substructures, and assert in VFS_QUOTACTL() itself that the op in the args structure matches the op passed directly. This change requires a kernel version bump.
Revision 1.33 / (download) - annotate - [select for diffs], Sun Jan 29 07:12:40 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.32: +17 -5
lines
Diff to previous 1.32 (colored)
Change QUOTACTL_GETVERSION to QUOTACTL_STAT. Add struct quotastat. This change requires a kernel version bump.
Revision 1.32 / (download) - annotate - [select for diffs], Sun Jan 29 07:11:55 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.31: +10 -6
lines
Diff to previous 1.31 (colored)
Move proplib bits for QUOTACTL_QUOTAOFF out of the ufs code. This change requires a kernel version bump.
Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 29 07:11:12 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.30: +20 -6
lines
Diff to previous 1.30 (colored)
Move the proplib bits for QUOTACTL_QUOTAON out of the ufs code. This change requires a kernel version bump.
Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 29 07:10:24 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.29: +79 -5
lines
Diff to previous 1.29 (colored)
Use QUOTACTL_CURSORSKIPIDTYPE and QUOTACTL_CURSORATEND in vfs_quotactl. Have it restart from the beginning if it receives EDEADLK, which requires QUOTACTL_CURSORREWIND.
Revision 1.29 / (download) - annotate - [select for diffs], Sun Jan 29 07:09:52 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.28: +9 -9
lines
Diff to previous 1.28 (colored)
Add QUOTACTL_CURSORSKIPIDTYPE, QUOTACTL_CURSORATEND, QUOTACTL_CURSORREWIND. This change requires a kernel version bump.
Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 29 07:08:58 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.27: +7 -15
lines
Diff to previous 1.27 (colored)
Don't pass the idtype to QUOTACTL_GETALL. Instead, iterate both users and groups. This change requires a kernel version bump.
Revision 1.27 / (download) - annotate - [select for diffs], Sun Jan 29 07:07:22 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.26: +69 -64
lines
Diff to previous 1.26 (colored)
Call QUOTACTL_GETALL in a loop to get results 8 at a time. Make the QUOTACTL_GETALL interface less abusive. Note: this change requires a kernel version bump.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Jan 29 07:06:37 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.25: +91 -61
lines
Diff to previous 1.25 (colored)
Rearrange result processing for QUOTACTL_GETALL.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Jan 29 07:06:01 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.24: +12 -10
lines
Diff to previous 1.24 (colored)
Stop treating the default values specially in QUOTACTL_GETALL. Note: this change requires a kernel version bump.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 29 07:05:12 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.23: +4 -2
lines
Diff to previous 1.23 (colored)
Teach quota2 QUOTACTL_GETALL to acecpt a limit on how much it sends back. Pass in a dummy limit for now. Note: this change requires a kernel version bump.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Jan 29 07:02:06 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.22: +138 -3
lines
Diff to previous 1.22 (colored)
Hack QUOTACTL_GETALL to return results without using proplib. (this interface is abusive and is going to be cleaned up in the immediate future) Note: this change requires a kernel version bump.
Revision 1.22 / (download) - annotate - [select for diffs], Sun Jan 29 07:00:39 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.21: +6 -6
lines
Diff to previous 1.21 (colored)
Pass the cursor to QUOTACTL_GETALL. Don't pass unused proplib items. Note: this change requires a kernel version bump.
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 29 06:57:15 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.20: +22 -3
lines
Diff to previous 1.20 (colored)
Begin adding quota cursor/iteration interface to VFS_QUOTACTL. Add struct quotakcursor. Add QUOTACTL_CURSOROPEN and QUOTACTL_CURSORCLOSE operations. Implement the plumbing for them. Add trivial implementations of them for quota2. (iteration is not supported on quota1 for the time being, just as getall isn't) Have the proplib interpreter open and close a cursor around doing QUOTACTL_GETALL. Note: this change requires a kernel version bump.
Revision 1.20 / (download) - annotate - [select for diffs], Sun Jan 29 06:55:44 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.19: +13 -10
lines
Diff to previous 1.19 (colored)
Package up the args of QUOTACTL_DELETE as a struct quotakey.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jan 29 06:54:34 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.18: +14 -14
lines
Diff to previous 1.18 (colored)
QUOTACTL_CLEAR -> QUOTACTL_DELETE to match intended API and user API.
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 29 06:53:35 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.17: +13 -2
lines
Diff to previous 1.17 (colored)
Improve the quota2 QUOTACTL_CLEAR code to allow clearing blocks and files independently. Note: this change requires a kernel version bump.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 29 06:52:38 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.16: +2 -3
lines
Diff to previous 1.16 (colored)
The handling of QUOTACTL_CLEAR does not use the proplib data dictionary, so don't pass it. Note: this change requires a kernel version bump.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 29 06:51:42 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.15: +57 -7
lines
Diff to previous 1.15 (colored)
Move toplevel proplib iteration of QUOTACTL_CLEAR to fs-independent code. Note: this change requires a kernel version bump.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 29 06:49:43 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.14: +14 -14
lines
Diff to previous 1.14 (colored)
Rename QUOTACTL_SET to QUOTACTL_PUT, to match future intended API.
Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 29 06:48:50 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.13: +13 -10
lines
Diff to previous 1.13 (colored)
Combine the miscellaneous QUOTACTL_SET args into a struct quotakey. Note: this change requires a kernel version bump.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 29 06:47:38 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.12: +19 -6
lines
Diff to previous 1.12 (colored)
Pass only one objtype and its quotaval to QUOTACTL_SET at one time. (The backend code to handle this is a lot tidier than I expected given that the proplib code doesn't allow setting blocks and files independently; I was afraid there would turn out to be a reason for that...) Note: this change requires a kernel version bump.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 29 06:45:25 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.11: +62 -2
lines
Diff to previous 1.11 (colored)
Provide quota info to QUOTACTL_SET as two struct quotaval points as well as via proplib. Note: this change requires a kernel version bump.
Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 29 06:44:33 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.10: +56 -7
lines
Diff to previous 1.10 (colored)
Move the top level iteration for QUOTACTL_SET from ufs to vfs_quotactl. Note: this change requires a kernel version bump.
Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 29 06:41:41 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.9: +27 -20
lines
Diff to previous 1.9 (colored)
Use struct quotakey with QUOTACTL_GET. Tidy up accordingly. Step 5 of 5 for QUOTACTL_GET. Note: this change requires a kernel version bump.
Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 29 06:40:57 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.8: +21 -4
lines
Diff to previous 1.8 (colored)
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.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Jan 29 06:39:36 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.7: +38 -4
lines
Diff to previous 1.7 (colored)
Move what was second-layer proplib frobbing for QUOTACTL_GET to FS-independent code. (Step 3 of probably 5 for QUOTACTL_GET.) Note: this change requires a kernel version bump.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 29 06:37:30 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.6: +68 -7
lines
Diff to previous 1.6 (colored)
Move first-layer proplib frobbing for QUOTACTL_GET to FS-independent code. (step 1 of several) Note: this change requires a kernel version bump.
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 29 06:36:50 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.5: +44 -7
lines
Diff to previous 1.5 (colored)
Move proplib frobbing for QUOTACTL_GETVERSION to FS-independent code. Note: this change requires a kernel version bump.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 29 06:36:06 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.4: +107 -14
lines
Diff to previous 1.4 (colored)
Introduce struct vfs_quotactl_args. Use it. This change uglifies vfs_quotactl some in order to make room for moving operation-specific but FS-independent logic out of ufs_quota.c. Note: this change requires a kernel version bump.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jan 29 06:34:57 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.3: +64 -3
lines
Diff to previous 1.3 (colored)
Move the proplib-based quota command dispatching (that is, the code that knows the magic string names for the allowed actions) out of UFS-specific code and to fs-independent code. This introduces QUOTACTL_* operation codes and changes the signature of VFS_QUOTACTL() again for compile safety. Note: this change requires a kernel version bump.
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jan 29 06:32:43 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.2: +75 -4
lines
Diff to previous 1.2 (colored)
Move the code for iterating over the multiple RPC calls in a quota proplib XML packet to vfs_quotactl.c out of sys/ufs/ufs. Add a dummy extra arg to VFS_QUOTACTL for compile safety. Note: this change requires a kernel version bump.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 29 06:29:05 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Changes since 1.1: +9 -2
lines
Diff to previous 1.1 (colored)
Add vfs_quotactl() in between the syscall and VFS_QUOTACTL. Call it from the COMPAT_50 code as well as the current sys_quotactl instead of going directly to VFS_QUOTACTL. Doesn't actually do anything yet.
Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 29 06:26:55 2012 UTC (3 months, 3 weeks ago) by dholland
Branch: MAIN
Add vfs_quotactl.c. This is where filesystem-independent quota handling will go.