summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2009-02-21 11:15:38 +0000
committerjamie <jamie@FreeBSD.org>2009-02-21 11:15:38 +0000
commit1631f0aa0ab88c016fb58469d9a616a487937c15 (patch)
tree0bbef0cc4b4641eea7fce090eee1e3b2a9ee2bcc /rescue
parent42a7dd58e4032ee5f5b726aa625cd53514b2d6cb (diff)
downloadFreeBSD-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 'rescue')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud