Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2009 11:15:38 +0000 (UTC)
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern kern_osd.c src/sys/sys osd.h
Message-ID:  <200902211116.n1LBGQUG089487@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jamie       2009-02-21 11:15:38 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_osd.c 
    sys/sys              osd.h 
  Log:
  SVN rev 188894 on 2009-02-21 11:15:38Z by jamie
  
  Add support for methods to the OSD subsystem.  Each object type has a
  predefined set of methods, which are set in osd_register() and called
  via osd_call().  Currently, no methods are defined, though prison
  objects will have some in the future.
  
  Expand the locking from a single per-type mutex to three different kinds
  of locks (four if you include the requirement that the container
  (e.g. prison) be locked when getting/setting data).  This clears up one
  existing issue, as well as others added by the method support.
  
  Approved by:    bz (mentor)
  
  Revision  Changes    Path
  1.2       +162 -65   src/sys/kern/kern_osd.c
  1.2       +18 -6     src/sys/sys/osd.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902211116.n1LBGQUG089487>