CVS log for linux-2.6-xfs/fs/xfs/Attic/xfs_qm.c

[BACK] Up to [Development] / linux-2.6-xfs / fs / xfs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.96 / (download) - annotate - [select for diffs], Fri Jun 27 17:57:21 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.95: +0 -0 lines
Diff to previous 1.95 (colored)

Nuke

Revision 1.95 / (download) - annotate - [select for diffs], Mon Mar 17 06:02:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.94: +0 -2810 lines
Diff to previous 1.94 (colored)

Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.
linux/fs/xfs/xfs_qm.c 1.94 Renamed to linux/fs/xfs/quota/xfs_qm.c
Separate the quota source into its own subdirectory ala dmapi.
Push a bunch of quota- and dmapi-specific code down into these
subdirs which previously was compiled into the core XFS code,
and don't descend into these subdirs if options config'd off.

Revision 1.94 / (download) - annotate - [select for diffs], Tue Mar 4 20:15:43 2003 UTC (14 years, 7 months ago) by overby
Branch: MAIN
Changes since 1.93: +8 -2 lines
Diff to previous 1.93 (colored)

Add error reporting calls in error paths that return EFSCORRUPTED
Merge of irix6.5f:irix:136445a by sandeen.

  Merge of grove2-6520stage:irix:136445a by roehrich.
  Merge of grove2:irix:136445a by roehrich.
  Add error reporting calls in error paths that return EFSCORRUPTED

Revision 1.93 / (download) - annotate - [select for diffs], Tue Nov 12 20:11:48 2002 UTC (14 years, 11 months ago) by hch
Branch: MAIN
Changes since 1.92: +10 -99 lines
Diff to previous 1.92 (colored)

Remove rootfs special-casing in the quota code
treat the rootfs like any other filesystem

Revision 1.92 / (download) - annotate - [select for diffs], Wed Oct 30 22:30:14 2002 UTC (14 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.91: +3 -7 lines
Diff to previous 1.91 (colored)

Remove a couple other readonly device change remnants

Revision 1.91 / (download) - annotate - [select for diffs], Wed Oct 30 21:31:49 2002 UTC (14 years, 11 months ago) by sandeen
Branch: MAIN
Changes since 1.90: +0 -5 lines
Diff to previous 1.90 (colored)

Remove remnants of readonly-mount handling
We were turning the VFS_RDONLY flag back on in xfs_qm_init_quotainos
but that's no longer necessary, it's no longer turned off on ro mounts,
except for recovery.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Oct 23 04:21:07 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.89: +26 -26 lines
Diff to previous 1.89 (colored)

Undoes mod:     2.4.x-xfs:slinx:130826a
Revert STATIC->static change

Revision 1.89 / (download) - annotate - [select for diffs], Wed Oct 23 03:54:05 2002 UTC (14 years, 11 months ago) by kaos
Branch: MAIN
Changes since 1.88: +26 -26 lines
Diff to previous 1.88 (colored)

Replace STATIC with static in xfs code

Revision 1.88 / (download) - annotate - [select for diffs], Fri Oct 11 19:22:58 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored)

Clean up xfs' log message printing
Remove extra newline from end of cmn_error messages

Revision 1.87 / (download) - annotate - [select for diffs], Wed Oct 9 03:06:48 2002 UTC (15 years ago) by nathans
Branch: MAIN
Changes since 1.86: +4 -4 lines
Diff to previous 1.86 (colored)

Global search and replace of the b* memory routines to their mem* equivalents.
(bcopy->memcopy, ovbcopy->memmove, bzero->memset, bcmp->memcmp).

Revision 1.86 / (download) - annotate - [select for diffs], Fri Oct 4 21:09:39 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.85: +1 -9 lines
Diff to previous 1.85 (colored)

Rearrange how xfs deals with read-only mounts vs. read-only devices.
Don't change VFS readonly flag to do quotacheck, only
check for ro status of underlying device.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Oct 2 19:22:11 2002 UTC (15 years ago) by sandeen
Branch: MAIN
Changes since 1.84: +22 -11 lines
Diff to previous 1.84 (colored)

Allow quota inode creation on a read-only filesystem.
use xfs_quotaino_create_read_only() and switch temporarily
to read-write so that we can create quota inodes, if
necessary.  (Similar to recovery & quotachk on an ro fs.)

Revision 1.84 / (download) - annotate - [select for diffs], Wed Oct 2 17:25:30 2002 UTC (15 years ago) by lord
Branch: MAIN
Changes since 1.83: +1 -1 lines
Diff to previous 1.83 (colored)

This is a two fold change, first it moves the translation
between linux dev_t and kdev_t up the call stack in xfs
and makes the bulk of xfs work in terms of its on disk
dev_t format. It also cleans up a few related chunks of
code.

The other part of the change reworks how we keep the linux
inode contents and the xfs inode fields in sync. A number
of places where we resynced the two have been removed, these
were basically replicating work elsewhere in the filesystem.
We now also ensure that the inode fields are filled in
before calling unlock_new_inode - there used to be a window.
Finally all the code which hooks together the linux inode
and the xfs inode is brought together as a more coherent
whole rather than being scattered around the inode create
path. Most calls to revalidate the linux inode from the
xfs inode are removed.
No need to feed in a dev_t here, we are creating a regular
file and we ignore the rdev field.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Sep 5 16:43:35 2002 UTC (15 years, 1 month ago) by sandeen
Branch: MAIN
Changes since 1.82: +2 -25 lines
Diff to previous 1.82 (colored)

Remove mrquota/QUOTAMAYBE mount option

Revision 1.82 / (download) - annotate - [select for diffs], Sat Aug 24 12:57:57 2002 UTC (15 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.81: +1 -1 lines
Diff to previous 1.81 (colored)

remove unused flags

Revision 1.81 / (download) - annotate - [select for diffs], Tue Aug 13 16:09:38 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.80: +5 -5 lines
Diff to previous 1.80 (colored)

rationalize xfs <-> pagebuf interface

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jul 31 21:19:39 2002 UTC (15 years, 2 months ago) by lord
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored)

move from xfs_zone back to kmem_zone

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jul 22 18:34:31 2002 UTC (15 years, 2 months ago) by sandeen
Branch: MAIN
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

remove kdev_t abuse from XFS

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 10 19:00:42 2002 UTC (15 years, 3 months ago) by sandeen
Branch: MAIN
Changes since 1.77: +311 -311 lines
Diff to previous 1.77 (colored)

whitespace cleanup

Revision 1.77 / (download) - annotate - [select for diffs], Thu Jun 20 05:33:04 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.76: +0 -2 lines
Diff to previous 1.76 (colored)

fix quota manager data structure so that kdb module can get at it correctly.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Jun 10 17:47:14 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.75: +5 -1 lines
Diff to previous 1.75 (colored)

Get some bytes off the stack in xfs_qm_dqiterate

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jun 4 16:30:46 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.74: +1 -1 lines
Diff to previous 1.74 (colored)

Update copyright dates

Revision 1.74 / (download) - annotate - [select for diffs], Fri May 31 00:44:20 2002 UTC (15 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

kdev_t changes to sync up the 2.4 code base with the 2.5 code (incl.
use of the kdev compat macros, removed pb_dev from page_buf_t, made
XFS_BUF_TARGET use match up with current 2.5, removed unused q_dev
field from xfs_dquot).

Revision 1.73 / (download) - annotate - [select for diffs], Wed May 22 16:30:23 2002 UTC (15 years, 4 months ago) by sandeen
Branch: MAIN
Changes since 1.72: +1 -1 lines
Diff to previous 1.72 (colored)

Use xfs_iput_new for new inodes that are still locked

Revision 1.72 / (download) - annotate - [select for diffs], Tue Apr 30 09:41:04 2002 UTC (15 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored)

more irq changes to unsigned long

Revision 1.71 / (download) - annotate - [select for diffs], Mon Jan 14 07:08:19 2002 UTC (15 years, 9 months ago) by nathans
Branch: MAIN
Changes since 1.70: +10 -31 lines
Diff to previous 1.70 (colored)

switch to the kmem_shake_register/kmem_shake_deregister interface which
Steve has recently added.  much cleaner than our old way and has more of
a chance of shaking memory when the rest of XFS needs it.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Sep 21 16:28:50 2001 UTC (16 years ago) by lord
Branch: MAIN
Changes since 1.69: +6 -3 lines
Diff to previous 1.69 (colored)

merge up to 2.4.10-pre12

Revision 1.69 / (download) - annotate - [select for diffs], Thu May 24 03:34:41 2001 UTC (16 years, 4 months ago) by nathans
Branch: MAIN
CVS Tags: Linux-2_4_5-merge
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored)

rework the way we intitialize and tear down the quota-related kmem zones.
this fixes a problem with (multiple) use of xfs as a module, found by qa.

Revision 1.68 / (download) - annotate - [select for diffs], Fri May 18 00:20:50 2001 UTC (16 years, 5 months ago) by nathans
Branch: MAIN
Changes since 1.67: +26 -11 lines
Diff to previous 1.67 (colored)

reintroduce xfs_qm_shake to give back space under low memory conditions.
init zones for dquots/dqtrx with names consistent with the rest of XFS.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Apr 19 02:37:23 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.66: +7 -7 lines
Diff to previous 1.66 (colored)

change XFS_STATS macro so that it doesn't rely on cpp ## to construct
individual field names for the xfsstats structure.  fixes up some gcc
compiler warnings, for recent versions of gcc.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Apr 17 01:11:30 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.65: +4 -1 lines
Diff to previous 1.65 (colored)

fix group inheritance and quota interaction (bug #821412).

Revision 1.65 / (download) - annotate - [select for diffs], Wed Apr 11 16:27:03 2001 UTC (16 years, 6 months ago) by lord
Branch: MAIN
Changes since 1.64: +6 -21 lines
Diff to previous 1.64 (colored)

Kill gratuitous prototypes

Revision 1.64 / (download) - annotate - [select for diffs], Wed Apr 11 01:44:54 2001 UTC (16 years, 6 months ago) by cattelan
Branch: MAIN
CVS Tags: Release-1_0_0
Changes since 1.63: +56 -57 lines
Diff to previous 1.63 (colored)

Get rid of the last compiler warning OFF flags

Revision 1.63 / (download) - annotate - [select for diffs], Tue Apr 3 02:52:38 2001 UTC (16 years, 6 months ago) by nathans
Branch: MAIN
Changes since 1.62: +217 -243 lines
Diff to previous 1.62 (colored)

support group quotas in Linux/XFS.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Feb 28 04:36:56 2001 UTC (16 years, 7 months ago) by nathans
Branch: MAIN
CVS Tags: PreRelease-0_10
Changes since 1.61: +4 -27 lines
Diff to previous 1.61 (colored)

minor reworking of initial mount of root with quota enabled - this
prevents us having to enable writes on every root mount, now just
the first.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Feb 27 02:43:46 2001 UTC (16 years, 7 months ago) by nathans
Branch: MAIN
Changes since 1.60: +29 -4 lines
Diff to previous 1.60 (colored)

like recovery, quotacheck needs to run on a ro-mounted root fs with
write access.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Dec 1 01:52:45 2000 UTC (16 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.59: +32 -32 lines
Diff to previous 1.59 (colored)

ondisk dquots are now big-endian only.

Revision 1.59 / (download) - annotate - [select for diffs], Thu Nov 23 04:33:46 2000 UTC (16 years, 10 months ago) by nathans
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored)

fix a bunch of warnings with QUOTADEBUG defined.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Nov 3 03:19:17 2000 UTC (16 years, 11 months ago) by nathans
Branch: MAIN
Changes since 1.57: +1 -8 lines
Diff to previous 1.57 (colored)

rework heuristics which caused problems with a module build.

Revision 1.57 / (download) - annotate - [select for diffs], Thu Nov 2 21:49:48 2000 UTC (16 years, 11 months ago) by cattelan
Branch: MAIN
Changes since 1.56: +8 -0 lines
Diff to previous 1.56 (colored)

move definition of ndquot from xfs_vfsops.c to here.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Oct 20 00:13:00 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.55: +4 -5 lines
Diff to previous 1.55 (colored)

correct a comment, fix a debug macro.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Sep 28 04:14:43 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.54: +0 -4 lines
Diff to previous 1.54 (colored)

remove explicit externs - get these from headers.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Sep 25 05:42:07 2000 UTC (17 years ago) by nathans
Branch: MAIN
Changes since 1.53: +15 -60 lines
Diff to previous 1.53 (colored)

use xfs.h, remove all traces of SIM, push extern declarations into headers,
dead code removal.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Sep 14 05:14:56 2000 UTC (17 years, 1 month ago) by nathans
Branch: MAIN
Changes since 1.52: +31 -53 lines
Diff to previous 1.52 (colored)

update the source, get it compilable - remove references to routines
like bflush, atomicAddUint, etc which no longer exist.

Revision 1.52 / (download) - annotate - [select for diffs], Sat Jul 22 04:20:01 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.51: +1 -2 lines
Diff to previous 1.51 (colored)

merge cred, mac, & cap headers to facilitate sharing between user and
kernel tools cleanly.  remove some unused headers, definitions, typedefs,
etc where found also.

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jul 18 01:41:36 2000 UTC (17 years, 3 months ago) by nathans
Branch: MAIN
Changes since 1.50: +9 -9 lines
Diff to previous 1.50 (colored)

rework the xfs stats interface to facilitate code sharing.  if there
is no interface available to export the stats (i.e. procfs), don't
bother compiling them in.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jun 16 20:57:56 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.49: +10 -12 lines
Diff to previous 1.49 (colored)

fixed so that when the inode for the project dquot is
  created, the superblock pointer to the user dquot inode
  isn't reinitialized to -1.

  The message indicating that quotas are being calculated only takes place
  when the dquot space is very large (more than 500 disk blocks).  On a file
  system with many files this can take a lot of time even if the dquot space
  is small.  Therefore printing the message shouldn't be dependant on the
  size of the dquot space.  Since the bulkstat part of the process can take
  a long time, the Done part of the message should be printed after the
  bulkstat is done.  This is a fix for PV 699842

Revision 1.49 / (download) - annotate - [select for diffs], Fri Jun 9 06:40:03 2000 UTC (17 years, 4 months ago) by ananth
Branch: MAIN
Changes since 1.48: +10 -12 lines
Diff to previous 1.48 (colored)

Merge of 2.3.99pre2-xfs:slinx:62680a originally by jtk on 05/24/00
  Use 'vn_count()' to check the reference count.

Merge of 2.3.99pre2-xfs:slinx:63026a originally by cattelan on 05/30/00
  Masive type update 
  all daddr_t -> xfs_daddr_t
  caddr_t -> xfs_caddr_t
  off_t   -> xfs_off_t
  ino_t   -> xfs_ino_t
  off64_t -> xfs_off_t 
  Removed need for file xfs_to_linux.h and lunux_to_xfs.h

Merge of 2.3.99pre2-xfs:slinx:63295a originally by nathans on 06/03/00
  remove all references to stuff from ksa.h and psa.h.

Merge of 2.3.99pre2-xfs:slinx:63636a originally by nathans on 06/07/00
  more housekeeping - remove unused headers & dead code.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Jun 9 02:50:02 2000 UTC (17 years, 4 months ago) by kenmcd
Branch: MAIN
CVS Tags: GPL-ENCUMBRANCE
Changes since 1.47: +25 -12 lines
Diff to previous 1.47 (colored)

Updated copyright and license notices, ready for open source release
Merge of 2.3.99pre2-xfs:slinx:55821a by ananth.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Jun 9 02:11:18 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
CVS Tags: DELETE
Changes since 1.46: +1 -1 lines
Diff to previous 1.46 (colored)

Merge of 2.3.99pre2-xfs:slinx:46565a by ananth.

  Merge of 2.3.42-xfs:slinx:46565a by ananth.
  change buftrace to xfs_buftrace

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jun 9 01:50:04 2000 UTC (17 years, 4 months ago) by nathans
Branch: MAIN
Changes since 1.45: +0 -4 lines
Diff to previous 1.45 (colored)

Merge of 2.3.99pre2-xfs:slinx:46428a by ananth.

  Merge of 2.3.42-xfs:slinx:46428a by ananth.
  remove unused include files.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jun 9 01:35:34 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.44: +0 -1 lines
Diff to previous 1.44 (colored)

use linux security mechanisms
Merge of 2.3.99pre2-xfs:slinx:46379a by ananth.

  Merge of 2.3.42-xfs:slinx:46379a by ananth.

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 9 00:03:30 2000 UTC (17 years, 4 months ago) by cattelan
Branch: MAIN
Changes since 1.43: +18 -0 lines
Diff to previous 1.43 (colored)

Merge of 2.3.99pre2-xfs:slinx:44186a by ananth.

  Merge of 2.3.42-xfs:slinx:44186a by ananth.
  Copied GPL from slinx-xfs tree.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 8 23:59:59 2000 UTC (17 years, 4 months ago) by lord
Branch: MAIN
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored)

Bring XFS upto 2.3.42
Merge of 2.3.99pre2-xfs:slinx:43458a by ananth.

  Merge of 2.3.42-xfs:slinx:43458a by ananth.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 23 20:52:36 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

make all xfs buffer access be buftarg_t based

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 22 19:39:07 1999 UTC (17 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40 (colored)

virtualize interface to buffer data

Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 17 19:22:23 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (colored)

replace struct buf and buf_t references with xfs_buf and xfs_buf_t

Revision 1.39 / (download) - annotate - [select for diffs], Thu Oct 28 10:44:39 1999 UTC (17 years, 11 months ago) by lord
Branch: MAIN
Changes since 1.38: +70 -57 lines
Diff to previous 1.38 (colored)

- change references from G_xqm to xfs_Gqm.
  - change how the quota manager structure is allocated/deallocated at first
    and last mounts.  xfs_qm_hold_quotafs_ref() and xfs_qm_rele_quotafs_ref()
    are now solely responsible for calling xfs_qm_init() and xfs_qm_destroy()
    while under a new mutex lock (xfs_Gqm_lock).  The one exception is where
    xfs_qm_init is called when mounting the root filesystem which we know is
    single threaded.

    also, change xfs_qm_rele_quotafs_ref() so that the reference is released
    at the tail end of the routine unlike previously.

    and change xfs_qm_init_quotainfo() so that a reference is added as soon
    as possible unlike previously.

Revision 1.38 / (download) - annotate - [select for diffs], Fri May 14 20:13:13 1999 UTC (18 years, 5 months ago) by lord
Branch: MAIN
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored)

Merge from irix/cxfs-f to irix/irix6.5f
Merge of cxfs-f:irix:15011b created by lord on 05/11/99
  Merge from irix/cxfs to irix/cxfs-f
  Merge of cxfs:irix:14262a created by clk on 04/29/99
  When we're doing the mount time quota check, pass
  BULKSTAT_FG_VFSLOCKED to xfs_bulkstat to indicate
  that the vfs is already locked.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Feb 4 01:28:30 1999 UTC (18 years, 8 months ago) by doucette
Branch: MAIN
Changes since 1.36: +4 -1 lines
Diff to previous 1.36 (colored)

Change includes for v2 directory support.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 14 20:56:02 1998 UTC (19 years, 6 months ago) by doucette
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Initialize nextdqp correctly in xfs_qm_shake_freelist, it was
uninitialized causing havoc in the QM_INACTIVE path.
rv: ram@cray, pv: 590130

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jan 18 09:02:30 1998 UTC (19 years, 9 months ago) by rcc
Branch: MAIN
Changes since 1.34: +4 -3 lines
Diff to previous 1.34 (colored)

added extra argument to xfs_trans_commit for IO_DSYNC speedup.
pv: 555963  rv: lord@cray

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jan 15 22:31:17 1998 UTC (19 years, 9 months ago) by cwf
Branch: MAIN
Changes since 1.33: +4 -3 lines
Diff to previous 1.33 (colored)

rv: ram@cray.com
pv: 463104,499744
Changes to handle new arguments to xfs_bulkstat and bulkstat_one_pf.
Retains use of igets for quota stat output.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Dec 18 16:16:59 1997 UTC (19 years, 10 months ago) by lord
Branch: MAIN
Changes since 1.32: +5 -4 lines
Diff to previous 1.32 (colored)

pv: 276922 rv: rcc@engr
Use new xfs error reporting function which prints filesystem name

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 22 14:38:33 1997 UTC (19 years, 11 months ago) by mostek
Branch: MAIN
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored)

Change xfs_qm.c:xfs_qm_sync to not return an error if xfs_qm_dqflush() returns
an error if the file system is forcibly being shut down.

The problem is that ALERT's are appearing on the console saying that
the file system should be shutdown. However, umount fails becauses
of this. So, ignore the EIO here and return 0.
rv: rcc@engr.sgi.com
pv: 538024

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 16 18:58:04 1997 UTC (20 years ago) by mostek
Branch: MAIN
Changes since 1.30: +15 -3 lines
Diff to previous 1.30 (colored)

Fix two problems uncovered by just running mount/umount
over and over of a file system with quotas on. These problems are caused
since there is a global quota manager structure allocated/freed
every time this test was run. The alloc/free keeps allocating a new
zone (actually 2). Zones can't be freed so the new code re-uses
the first one. Also, a mutex was never being destroyed.

pv: 524254
rv: lord@cray.com

Revision 1.30 / (download) - annotate - [select for diffs], Fri Sep 19 09:37:06 1997 UTC (20 years, 1 month ago) by rcc
Branch: MAIN
Changes since 1.29: +10 -13 lines
Diff to previous 1.29 (colored)

522678 - code cleanup.  can use read-only mount flag instead
of detecting whether or not the fs is clean and read-only mounted

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 12 17:48:46 1997 UTC (20 years, 1 month ago) by lord
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Add buffer targeting stuff

Revision 1.28 / (download) - annotate - [select for diffs], Tue Aug 12 23:27:46 1997 UTC (20 years, 2 months ago) by rcc
Branch: MAIN
Changes since 1.27: +13 -4 lines
Diff to previous 1.27 (colored)

cope with EFSCORRUPTED return codes from xfs_iflush

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jul 15 17:59:37 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 (colored)

Add okalloc argument to xfs_dir_ialloc calls.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jun 30 23:19:17 1997 UTC (20 years, 3 months ago) by doucette
Branch: MAIN
Changes since 1.25: +2 -4 lines
Diff to previous 1.25 (colored)

Get space reservations from xfs_trans_space.h macros.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 19 22:50:47 1997 UTC (20 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.24: +20 -11 lines
Diff to previous 1.24 (colored)

Fixed the interface from xfs_bulkstat to the formatter routines, so
we can tell if the formatter wants us to quit.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 30 22:30:06 1997 UTC (20 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.23: +8 -10 lines
Diff to previous 1.23 (colored)

Use trans_read_buf rather than read_buf directly.
Handle errors correctly too.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 29 03:16:04 1997 UTC (20 years, 6 months ago) by sup
Branch: MAIN
Changes since 1.22: +7 -7 lines
Diff to previous 1.22 (colored)

Call xfs_trans_cancel with correct flags

Revision 1.22 / (download) - annotate - [select for diffs], Tue Mar 11 02:40:12 1997 UTC (20 years, 7 months ago) by sup
Branch: MAIN
Changes since 1.21: +6 -3 lines
Diff to previous 1.21 (colored)

469181 Don't just assume that the realtime inodes are there
all the time, eventhough that is the current policy.
Jeff Heller had a pre-MR kernel that hit this case because
the rt inos were -1.

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 25 02:55:33 1997 UTC (20 years, 8 months ago) by sup
Branch: MAIN
Changes since 1.20: +18 -10 lines
Diff to previous 1.20 (colored)

First cut of XFS I/O error handling changes.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Dec 14 01:44:55 1996 UTC (20 years, 10 months ago) by rcc
Branch: MAIN
Changes since 1.19: +17 -7 lines
Diff to previous 1.19 (colored)

446511 - choke off all disk I/O for read-only mounts of cleanly
unmounted filesystems

Revision 1.13.1.5 / (download) - annotate - [select for diffs], Sat Dec 14 01:44:53 1996 UTC (20 years, 10 months ago) by rcc
CVS Tags: DELETE-1
Changes since 1.13.1.4: +17 -7 lines
Diff to previous 1.13.1.4 (colored) next main 1.14 (colored)

446511 - choke off all disk I/O for read-only mounts of cleanly
unmounted filesystems

Revision 1.19 / (download) - annotate - [select for diffs], Fri Dec 13 00:35:08 1996 UTC (20 years, 10 months ago) by sup
Branch: MAIN
Changes since 1.18: +33 -46 lines
Diff to previous 1.18 (colored)

RFE 422609: cleaning up work.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Aug 23 07:51:08 1996 UTC (21 years, 1 month ago) by livesey
Branch: MAIN
Changes since 1.17: +1 -2 lines
Diff to previous 1.17 (colored)

merge ficus into kudzu (1.13.1.3 ... 1.13.1.4)
> ----------------------------
> revision 1.13.1.4
> date: 1996/08/17 02:52:41;  author: sup;  state: Exp;  lines: +1 -2
> Removed bogus ASSERT
> =============================================================================

Revision 1.13.1.4 / (download) - annotate - [select for diffs], Sat Aug 17 02:52:41 1996 UTC (21 years, 2 months ago) by sup
Changes since 1.13.1.3: +1 -2 lines
Diff to previous 1.13.1.3 (colored)

Removed bogus ASSERT

Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 2 22:11:45 1996 UTC (21 years, 2 months ago) by montep
Branch: MAIN
Changes since 1.16: +109 -45 lines
Diff to previous 1.16 (colored)

merge ficus into kudzu (1.13.1.2 ... 1.13.1.3)
> ----------------------------
> revision 1.13.1.3
> date: 1996/08/02 20:40:37;  author: sup;  state: Exp;  lines: +109 -45
> 406537 quota on root fs can hang mount
> shake_freelist and dqreclaim_one also had paths
> where we can possibly fill the bufcache with delwri buffers.
> Also initialize the new XFS_MOUNT_ROOTQCHECK flag when
> doing rootfs quotacheck.
> =============================================================================

Revision 1.13.1.3 / (download) - annotate - [select for diffs], Fri Aug 2 20:40:37 1996 UTC (21 years, 2 months ago) by sup
Changes since 1.13.1.2: +109 -45 lines
Diff to previous 1.13.1.2 (colored)

406537 quota on root fs can hang mount
shake_freelist and dqreclaim_one also had paths
where we can possibly fill the bufcache with delwri buffers.
Also initialize the new XFS_MOUNT_ROOTQCHECK flag when
doing rootfs quotacheck.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jul 27 22:28:45 1996 UTC (21 years, 2 months ago) by montep
Branch: MAIN
Changes since 1.15: +56 -14 lines
Diff to previous 1.15 (colored)

merge ficus into kudzu (1.13.1.1 ... 1.13.1.2)
> ----------------------------
> revision 1.13.1.2
> date: 1996/07/24 20:28:19;  author: sup;  state: Exp;  lines: +56 -14
> Take XFSMNT_QUOTAMAYBE mount flag into account.
> Also do a read-ahead when doing quotacheck.
> Enable xfsstats. ksa.h already has the necessary quota fields.
> =============================================================================

Revision 1.13.1.2 / (download) - annotate - [select for diffs], Wed Jul 24 20:28:19 1996 UTC (21 years, 2 months ago) by sup
Changes since 1.13.1.1: +56 -14 lines
Diff to previous 1.13.1.1 (colored)

Take XFSMNT_QUOTAMAYBE mount flag into account.
Also do a read-ahead when doing quotacheck.
Enable xfsstats. ksa.h already has the necessary quota fields.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jul 13 22:36:37 1996 UTC (21 years, 3 months ago) by livesey
Branch: MAIN
Changes since 1.14: +83 -164 lines
Diff to previous 1.14 (colored)

merge ficus into kudzu (1.13 ... 1.13.1.1)

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 12 23:57:34 1996 UTC (21 years, 3 months ago) by sfc
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Delete not-needed proc.h include.

Revision 1.13.1.1 / (download) - annotate - [select for diffs], Thu Jul 11 05:10:53 1996 UTC (21 years, 3 months ago) by sup
Changes since 1.13: +83 -164 lines
Diff to previous 1.13 (colored)

quotacheck changed considerably. we dont do two passes anymore; instead
we do a brute force bflush() which is a lot less error prone.
We also manage to circumvent some of the rootfs quotacheck probs this way.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 25 16:49:50 1996 UTC (21 years, 3 months ago) by sup
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

minor cleanup

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 24 22:46:53 1996 UTC (21 years, 3 months ago) by sup
Branch: MAIN
Changes since 1.11: +37 -47 lines
Diff to previous 1.11 (colored)

Restructured the way dqiterate works with bmapi.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 24 08:44:33 1996 UTC (21 years, 3 months ago) by sup
Branch: MAIN
Changes since 1.10: +25 -2 lines
Diff to previous 1.10 (colored)

Some comments, debug stuff to catch a quotacheck bug.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 23 11:37:11 1996 UTC (21 years, 3 months ago) by sup
Branch: MAIN
Changes since 1.9: +110 -86 lines
Diff to previous 1.9 (colored)

xfs_qm_force_quotaoff taken out. We return error (ie. abort operation) when we encounter
an error in the quota system (eg. disk corruption) now.
Also added a case to handle bulkstat returning an error.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 19 09:12:44 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.8: +36 -35 lines
Diff to previous 1.8 (colored)

Deadlock found by fsstress.
Drop the inodelock before calling xfs-dqget in
vop_dqalloc.
Also made the NDQUOT_HIWAT* dependent on ncsize, rather than
hardcoding it to a single value.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 14 08:02:40 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.7: +51 -30 lines
Diff to previous 1.7 (colored)

changed mp->m_flags to mp->m_qflags.
disable quotas when trying to mount a RT f/s on a kernel without
quota support for RT. Do force_quotaoff properly.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 12 01:27:24 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.6: +136 -170 lines
Diff to previous 1.6 (colored)

Changed the signature of qino_alloc so that it can do xfs_mod_sb
using the new and improved xfs_mod_sb() routine.
Fixed a bug in shake_freelist path where an ASSERT was
inserted before the var's initialization.
Tookout INOQCHK flag altogether. We _reserve_ inodes now.
Took out XFS_DO_FLUSH_INODE macro.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 4 21:35:34 1996 UTC (21 years, 4 months ago) by doucette
Branch: MAIN
Changes since 1.5: +14 -17 lines
Diff to previous 1.5 (colored)

Cleanup superblock version code, using new macros (bug 385316).
Remove a few extra includes.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 1 11:03:20 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.4: +143 -147 lines
Diff to previous 1.4 (colored)

Fixed bug in quotainode allocation where the FDBLOCKS (in superblock)
was getting the incore value by mistake. Restructured qino_alloc
accordingly.
Added XFS_QM_SB_HAS_QUOTA macro.
Cleanedup many debug messages.

Revision 1.4 / (download) - annotate - [select for diffs], Wed May 29 17:16:09 1996 UTC (21 years, 4 months ago) by sup
Branch: MAIN
Changes since 1.3: +105 -43 lines
Diff to previous 1.3 (colored)

Restructured qm_dqpurge_all, minor bug fixes, cleaned up the quotaoff path.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 17 21:42:47 1996 UTC (21 years, 5 months ago) by doucette
Branch: MAIN
Changes since 1.2: +5 -6 lines
Diff to previous 1.2 (colored)

Remove superfluous sb_padding field from superblock.
Fix names of flags for user and project quota inode fields in sb.

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 16 03:58:05 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN
Changes since 1.1: +7 -7 lines
Diff to previous 1.1 (colored)

Took out  debug messages inadvertently left behind, that caused non-DEBUG builds to fail

Revision 1.1 / (download) - annotate - [select for diffs], Wed May 15 22:42:48 1996 UTC (21 years, 5 months ago) by sup
Branch: MAIN

XFS quota manager (XQM)
Manages the entire quota mechanism, and oversees behavior of dquots.

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.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>