diff options
author | Ricardo M. Correia <[email protected]> | 2011-01-21 14:35:41 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-16 11:20:06 -0800 |
commit | 54a179e7b80413bd48cd2cd259110fb493d0215e (patch) | |
tree | 8bce4e2af34f745165ee0b225e0616ee823dfc7d /module/zfs/dmu_objset.c | |
parent | 8d4e8140ef67fa9c8fa0b1d0f5b1d5d36c747969 (diff) |
Add API to wait for pending commit callbacks
This adds an API to wait for pending commit callbacks of already-synced
transactions to finish processing. This is needed by the DMU-OSD in
Lustre during device finalization when some callbacks may still not be
called, this leads to non-zero reference count errors. See lustre.org
bug 23931.
Diffstat (limited to 'module/zfs/dmu_objset.c')
-rw-r--r-- | module/zfs/dmu_objset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zfs/dmu_objset.c b/module/zfs/dmu_objset.c index 7da5c1aa0..0ff95a64e 100644 --- a/module/zfs/dmu_objset.c +++ b/module/zfs/dmu_objset.c @@ -1813,6 +1813,7 @@ EXPORT_SYMBOL(dmu_objset_destroy); EXPORT_SYMBOL(dmu_objset_snapshot); EXPORT_SYMBOL(dmu_objset_stats); EXPORT_SYMBOL(dmu_objset_fast_stat); +EXPORT_SYMBOL(dmu_objset_spa); EXPORT_SYMBOL(dmu_objset_space); EXPORT_SYMBOL(dmu_objset_fsid_guid); EXPORT_SYMBOL(dmu_objset_find); |