CVS log for linux-2.6-xfs/include/linux/completion.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.7 / (download) - annotate - [select for diffs], Fri Oct 3 17:46:45 2008 UTC (9 years ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -44 lines
Diff to previous 1.6 (unified)

Merge up to 2.6.27-rc8
Merge of 2.6.x-xfs-melb:linux:32254b by kenmcd.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 5 16:34:41 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.5: +45 -0 lines
Diff to previous 1.5 (unified)

Merge of 2.6.x-xfs-melb:linux:31816a by kenmcd.

  extend completions to provide XFS object flush requirements
  XFS object flushing doesn't quite match existing completion semantics.  It
  mixed exclusive access with completion.  That is, we need to mark an object as
  being flushed before flushing it to disk, and then block any other attempt to
  flush it until the completion occurs.  We do this but adding an extra count to
  the completion before we start using them.  However, we still need to
  determine if there is a completion in progress, and allow no-blocking attempts
  fo completions to decrement the count.
  To do this we introduce:
  int try_wait_for_completion(struct completion *x)
  returns a failure status if done == 0, otherwise decrements done
  to zero and returns a "started" status. This is provided
  to allow counted completions to begin safely while holding
  object locks in inverted order.
  int completion_done(struct completion *x)
  returns 1 if there is no waiter, 0 if there is a waiter
  (i.e. a completion in progress).
  This replaces the use of semaphores for providing this exclusion
  and completion mechanism.
  Signed-off-by: Dave Chinner <david@fromorbit.com>

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 26 16:44:40 2008 UTC (9 years, 7 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (unified)

Merge up to 2.6.25-rc3
Merge of 2.6.x-xfs-melb:linux:30555a by kenmcd.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 3 16:26:37 2007 UTC (9 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.3: +8 -8 lines
Diff to previous 1.3 (unified)

Merge up to 2.6.24-rc3
Merge of 2.6.x-xfs-melb:linux:30183b by kenmcd.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 13 17:03:09 2006 UTC (11 years ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.2: +15 -0 lines
Diff to previous 1.2 (unified)

Merge up to 2.6.18
Merge of 2.6.x-xfs-melb:linux:27192b by kenmcd.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 4 14:41:21 2005 UTC (12 years, 7 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +6 -0 lines
Diff to previous 1.1 (unified)

Merge up to 2.6.11
Merge of 2.6.x-xfs-melb:linux:21721a by kenmcd.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 30 23:58:53 2003 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN

Initial Import 2.6.0

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>