diff options
author | jamie <jamie@FreeBSD.org> | 2009-02-21 11:15:38 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2009-02-21 11:15:38 +0000 |
commit | 1631f0aa0ab88c016fb58469d9a616a487937c15 (patch) | |
tree | 0bbef0cc4b4641eea7fce090eee1e3b2a9ee2bcc /gnu | |
parent | 42a7dd58e4032ee5f5b726aa625cd53514b2d6cb (diff) | |
download | FreeBSD-src-1631f0aa0ab88c016fb58469d9a616a487937c15.zip FreeBSD-src-1631f0aa0ab88c016fb58469d9a616a487937c15.tar.gz |
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)
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions