X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Fsys%2Fsa.h;h=b8db0c1305cb5ec92ef1366b353f021a97a684fc;hb=3bc7e0fb0f3904eaf41e0b9768ebe2d042ae98aa;hp=c8b9247717c95f4424b1e289c50a471e82a97abb;hpb=6283f55ea1b91e680386388c17d14b89e344fa8d;p=zfs.git diff --git a/include/sys/sa.h b/include/sys/sa.h index c8b9247..b8db0c1 100644 --- a/include/sys/sa.h +++ b/include/sys/sa.h @@ -139,6 +139,7 @@ void sa_set_userp(sa_handle_t *, void *); dmu_buf_t *sa_get_db(sa_handle_t *); uint64_t sa_handle_object(sa_handle_t *); boolean_t sa_attr_would_spill(sa_handle_t *, sa_attr_type_t, int size); +void sa_spill_rele(sa_handle_t *); void sa_register_update_callback(objset_t *, sa_update_cb_t *); int sa_setup(objset_t *, uint64_t, sa_attr_reg_t *, int, sa_attr_type_t **); void sa_tear_down(objset_t *); @@ -149,6 +150,8 @@ int sa_replace_all_by_template_locked(sa_handle_t *, sa_bulk_attr_t *, boolean_t sa_enabled(objset_t *); void sa_cache_init(void); void sa_cache_fini(void); +void *sa_spill_alloc(int); +void sa_spill_free(void *); int sa_set_sa_object(objset_t *, uint64_t); int sa_hdrsize(void *); void sa_handle_lock(sa_handle_t *);