CVS log for xfs-linux-nodel/quota/xfs_dquot_item.c

[BACK] Up to [Development] / xfs-linux-nodel / quota

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Fri Oct 17 02:58:35 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +5 -3 lines
Diff to previous 1.26 (colored)

Finish removing the mount pointer from the AIL API

Change all the remaining AIL API functions that are passed
struct xfs_mount pointers to pass pointers directly to the
struct xfs_ail being used. With this conversion, all external
access to the AIL is via the struct xfs_ail. Hence the operation
and referencing of the AIL is almost entirely independent of
the xfs_mount that is using it - it is now much more tightly
tied to the log and the items it is tracking in the log than
it is tied to the xfs_mount.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:32353a by kenmcd.

  Finish removing the mount pointer from the AIL API

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 16 05:23:50 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

Move the AIL lock into the struct xfs_ail

Bring the ail lock inside the struct xfs_ail. This means
the AIL can be entirely manipulated via the struct xfs_ail rather
than needing both the struct xfs_mount and the struct xfs_ail.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:32350a by kenmcd.

  Move the AIL lock into the struct xfs_ail

Revision 1.25 / (download) - annotate - [select for diffs], Mon Sep 29 04:06:28 2008 UTC (9 years ago) by pleckie.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (colored)

Fix build brakage from patch "Clean up dquot pincount code"

This is a fix for patch " Clean up dquot pincount code"
which introduced a build breakage due to a missing & in
xfs_qm_dquot_logitem_pin.


Signed-off-by: Peter Leckie <pleckie@sgi.com>
Merge of xfs-linux-melb:xfs-kern:32221a by kenmcd.

  Fix build brakage from patch "Clean up dquot pincount code"

Revision 1.24 / (download) - annotate - [select for diffs], Fri Sep 26 06:12:19 2008 UTC (9 years ago) by pleckie.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.23: +11 -26 lines
Diff to previous 1.23 (colored)

Clean up dquot pincount code.

This is a code cleanup and optimization that removes a per mount point
spinlock from the quota code and cleans up the code.

The patch changes the pincount from being an int protected by a spinlock
to an atomic_t allowing the pincount to be manipulated without holding
the spinlock.

This cleanup also protects against random wakup's of both the aild and
xfssyncd by reevaluating the pincount after been woken. Two latter patches
will address the Spurious wakeups.

Signed-off-by: Peter Leckie <pleckie@sgi.com>
Merge of xfs-linux-melb:xfs-kern:32215a by kenmcd.

  Clean up dquot pincount code.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Aug 6 06:10:02 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

replace dquot flush semaphore with a completion

Use the new completion flush code to implement the dquot flush lock.  Removes
one of the final users of semaphores in the XFS code base.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Merge of xfs-linux-melb:xfs-kern:31822a by kenmcd.

  replace dquot flush semaphore with a completion

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 9 04:27:47 2008 UTC (9 years, 5 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Remove unused arg from kmem_free()

kmem_free() function takes (ptr, size) arguments but doesn't
actually use second one.

This patch removes size argument from all callsites.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Merge of xfs-linux-melb:xfs-kern:31050a by kenmcd.

  Remove unused arg from kmem_free()

Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 10 04:27:00 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.20: +6 -1 lines
Diff to previous 1.20 (colored)

Ensure xfs_bawrite() errors are checked.

xfs_bawrite() can return immediate error status on async writes.
Unlike xfsbdstrat() we don't ever check the error on the buffer
after the call, so we currently do not catch errors at all here.
Ensure we catch and propagate or warn to the syslog about
up-front async write errors.
Merge of xfs-linux-melb:xfs-kern:30824a by kenmcd.

  Ensure xfs_bawrite() errors are checked.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 9 16:23:22 2008 UTC (9 years, 6 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.19: +6 -1 lines
Diff to previous 1.19 (colored)

Check for dquot flush errors

xfs_qm_dqflush() can fail, but the return is not checked anywhere.
Hence we never know if we've failed to flush a dquot to disk.
Propagate the error and warn to the syslog if a flush ever fails.
Merge of xfs-linux-melb:xfs-kern:30787a by kenmcd.

  Propagate xfs_qm_dqflush() errors.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 21 04:11:56 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.18: +6 -10 lines
Diff to previous 1.18 (colored)

Unwrap XFS_DQ_PINUNLOCK.

Un-obfuscate DQ_PINLOCK, remove DQ_PINLOCK->mutex_lock->spin_lock
macros, call spin_lock directly, remove extraneous cookie
holdover from old xfs code, and change lock type to spinlock_t.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:29742a by kenmcd.

  Unwrap XFS_DQ_PINUNLOCK

Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 21 04:09:25 2007 UTC (10 years ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.17: +5 -6 lines
Diff to previous 1.17 (colored)

Unwrap AIL_LOCK
Merge of xfs-linux-melb:xfs-kern:29739a by kenmcd.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 7 02:50:13 2007 UTC (10 years, 8 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.16: +0 -2 lines
Diff to previous 1.16 (colored)

Remove unused header files for MAC and CAP checking functionality.

xfs_mac.h and xfs_cap.h provide definitions and macros that aren't
used anywhere in XFS at all. They are left-overs from "to be implement
at some point in the future" functionality that Irix XFS has. If this
functionality ever goes into Linux, it will be provided at a different
layer, most likely through the security hooks in the kernel so we will
never need this functionality in XFS.

Patch provided by Eric Sandeen (sandeen@sandeen.net).
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:28036a by kenmcd.

  Remove unused xfs_cap.h/xfs_mac.h header files.
  Signed-off-by: Eric Sandeen <sandeen@sandeen.net>

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 30 14:40:05 2006 UTC (10 years, 10 months ago) by dgc.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Keep stack usage down for 4k stacks by using noinline.

gcc-4.1 and more recent aggressively inline static functions which
increases XFS stack usage by ~15% in critical paths. Prevent
this from occurring by adding noinline to the STATIC definition.

Also uninline some functions that are too large to be inlined and
were causing problems with CONFIG_FORCED_INLINING=y.

Finally, clean up all the different users of inline, __inline and
__inline__ and put them under one STATIC_INLINE macro. For debug
kernels the STATIC_INLINE macro uninlines those functions.
Merge of xfs-linux-melb:xfs-kern:27585a by kenmcd.

  noinline static function declaration cleanup.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 10 15:30:19 2006 UTC (11 years, 2 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.14: +0 -26 lines
Diff to previous 1.14 (colored)

Remove unused iop_abort log item operation

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of xfs-linux-melb:xfs-kern:26747a by kenmcd.

  Remove unused iop_abort log item operation

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jun 17 06:08:37 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Kill direct access to ->count in valusema(); all we ever use it for is check
if semaphore is actually locked, which can be trivially done in portable way.
Code gets more reabable, while we are at it...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Merge of xfs-linux-melb:xfs-kern:26274a by kenmcd.

  Kill direct access to ->count in valusema(); all we ever use it for is check
  if semaphore is actually locked, which can be trivially done in portable way.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 15 03:58:11 2006 UTC (11 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.12: +0 -2 lines
Diff to previous 1.12 (colored)

Remove version 1 directory code.  Never functioned on Linux, just pure bloat.
Merge of xfs-linux-melb:xfs-kern:26251a by kenmcd.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 23 02:48:21 2006 UTC (11 years, 6 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.11: +1 -1 lines
Diff to previous 1.11 (colored)

We really suck at spulling.  Thanks to Chris Pascoe for fixing all these typos.
Merge of xfs-linux-melb:xfs-kern:25539a by kenmcd.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 20 14:23:44 2006 UTC (11 years, 7 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.10: +2 -0 lines
Diff to previous 1.10 (colored)

forgot a couple of calls to XLOG_VEC_SET_TYPE when porting from irix to linux.
Merge of xfs-linux-melb:xfs-kern:25238a by kenmcd.

  forgot a couple of calls to XLOG_VEC_SET_TYPE when porting from irix to linux.
  Needed for printing extra diagnostics when reservation runs out.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 12 02:43:50 2006 UTC (11 years, 9 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Merge in trivial changes, sync up headers with userspace equivalents.
Merge of xfs-linux-melb:xfs-kern:24961a by kenmcd.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 26 16:35:34 2005 UTC (12 years ago) by hch
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

endianess annotations and cleanup for the quota code

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 26 03:46:03 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.7: +12 -28 lines
Diff to previous 1.7 (colored)

Update license/copyright notices to match the prefered SGI boilerplate.
Merge of xfs-linux-melb:xfs-kern:23917a by kenmcd.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 23 03:48:50 2005 UTC (12 years ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.6: +6 -7 lines
Diff to previous 1.6 (colored)

Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot.
Merge of xfs-linux-melb:xfs-kern:23901a by kenmcd.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jul 13 03:43:58 2005 UTC (12 years, 3 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.5: +1 -0 lines
Diff to previous 1.5 (colored)

add log debugging and tracing info
Merge of xfs-linux-melb:xfs-kern:23155a by kenmcd.

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 18 09:29:33 2005 UTC (12 years, 5 months ago) by hch
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

mark various symbols static

Patch from Adrian Bunk

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 27 18:04:26 2003 UTC (14 years, 3 months ago) by cattelan
Branch: MAIN
Changes since 1.3: +715 -0 lines
Diff to previous 1.3 (colored)

The Big Move
linux/fs/xfs/quota/xfs_dquot_item.c 1.2 Renamed to quota/xfs_dquot_item.c

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

Nuke

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 1 16:22:06 2003 UTC (14 years, 5 months ago) by cattelan
Branch: MAIN
CVS Tags: XFS-1_3_0pre1
Changes since 1.1: +36 -1 lines
Diff to previous 1.1 (colored)

Rework the way xfs includes xfs_<blah>.h headers.
This reduces a lot of the compile dependenciesÂ,
and should reduce some of the "recompile all" situations.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 17 06:02:57 2003 UTC (14 years, 7 months ago) by nathans
Branch: MAIN

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_dquot_item.c 1.33 Renamed to linux/fs/xfs/quota/xfs_dquot_item.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.

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>