The NetBSD Project

CVS log for src/sys/ufs/ufs/quota1_subr.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / ufs / ufs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:57 2012 UTC (2 years, 8 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.4: +29 -31 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:56 2012 UTC (2 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.6: +24 -31 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

merge to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 29 06:23:20 2012 UTC (2 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base, nick-nhusb, netbsd-7-base, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, agc-symver-base, agc-symver, HEAD
Changes since 1.6: +24 -31 lines
Diff to previous 1.6 (colored)

Change dqblk_to_quotaval() from quota1_subr.c to dqblk_to_quotavals(),
and pass in two single quotaval structs (for blocks and inodes)
instead of an array of (implicitly) QUOTA_NLIMITS quotaval structs
indexed by constants from quotaprop.h.

Note: because this code is used by COMPAT_50 as well as ufs, this
change requires a kernel version bump. (The code is also used by
edquota, but via .PATH so it's not ABI-sensitive there.)

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 25 16:55:05 2011 UTC (3 years ago) by dholland
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.5: +24 -20 lines
Diff to previous 1.5 (colored)

Rename struct ufs_quota_entry -> struct quotaval.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Nov 20 21:43:35 2011 UTC (3 years, 1 month ago) by dholland
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Reshuffle decls among the quota headers so everything is in the place
it should be:
   - stuff for the proplib interface goes in <quota/quotaprop.h>
   - stuff for userlevel only goes in <quota/quota.h>
   - stuff shared between user and kernel goes in <sys/quota.h>

Note that <quota/quota.h> and <quota/quotaprop.h> are expected to be
moved or removed later on... one thing at a time.

Update include directives in other files as needed.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:32 2011 UTC (3 years, 5 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:31 2011 UTC (3 years, 6 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.2.2: +0 -2 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 7 14:56:13 2011 UTC (3 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.3: +2 -4 lines
Diff to previous 1.3 (colored)

Fix bad cut'n'paste in copyright. Pointed out by dyoung@

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:18 2011 UTC (3 years, 6 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.3.6.1: +92 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:21 2011 UTC (3 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.2.1: +92 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.3.6.1, Thu Mar 24 17:05:45 2011 UTC (3 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.3: +0 -92 lines
FILE REMOVED

file quota1_subr.c was added on branch jruoho-x86intr on 2011-06-06 09:10:18 +0000

Revision 1.3.2.1, Thu Mar 24 17:05:45 2011 UTC (3 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3: +0 -92 lines
FILE REMOVED

file quota1_subr.c was added on branch rmind-uvmplock on 2011-04-21 01:42:21 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 24 17:05:45 2011 UTC (3 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: rmind-uvmplock, jruoho-x86intr, cherry-xenmp
Changes since 1.2: +22 -21 lines
Diff to previous 1.2 (colored)

Add a new libquota library, which contains some blocks to build and/or
parse quota plists; as well as a getfsquota() function to retrieve quotas
for a single id from a single filesystem (whatever filesystem this is:
a local quota-enabled fs or NFS). This is build on functions getufsquota()
(for local filesystems with UFS-like quotas) and getnfsquota();
which are also available to userland programs.
move functions from quota2_subr.c to libquota or libprop as appropriate,
and ajust in-tree quota tools.
move some declarations from kernel headers to either sys/quota.h or
quota/quota.h as appropriate. ufs/ufs/quota.h still installed because
it's needed by other installed ufs headers.
ufs/ufs/quota1.h still installed as a quick&dirty way to get a code
using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of
ufs/ufs/quota.h - old code won't compile without this change and this is
on purpose).
Discussed on tech-kern@ and tech-net@ (long thread, but not much about
libquota itself ...)

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:39 2011 UTC (3 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.1: +91 -0 lines
Diff to previous 1.1 (colored)

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu Feb 3 17:36:30 2011 UTC (3 years, 10 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.1.2.2: +4 -8 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Change semantic of limits to allow up to the limit inclued (instead of
up to one less than the limit: I feel that if my limit is 1000 inodes
I should be able to create 1000 files, not 999).
Keep the previous semantic for quota1 dquot, the conversion functions
will add or remove 1 when converting limits from/to the new format.

Adjust test for this change.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Jan 31 15:24:10 2011 UTC (3 years, 10 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.1.2.1: +18 -18 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Catch up with Q2V -> QL renaming
Enforce limits for quota2.
pass quota type (*QUOTA) and limit type (QL_*) to
KAUTH_REQ_SYSTEM_FS_QUOTA_NOLIMIT, to make it possible to skip
limit checks for some quota type only if a listener wants to.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Jan 28 23:31:16 2011 UTC (3 years, 10 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.1: +95 -0 lines
Diff to previous 1.1 (colored)

Add conversion functions between old and new format.

Revision 1.1, Fri Jan 28 23:31:16 2011 UTC (3 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: bouyer-quota2
FILE REMOVED

file quota1_subr.c was initially added on branch bouyer-quota2.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>