Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/module/zfs/dmu_objset.c
Show First 20 Lines • Show All 320 Lines • ▼ Show 20 Lines | |||||
static void | static void | ||||
smallblk_changed_cb(void *arg, uint64_t newval) | smallblk_changed_cb(void *arg, uint64_t newval) | ||||
{ | { | ||||
objset_t *os = arg; | objset_t *os = arg; | ||||
/* | /* | ||||
* Inheritance and range checking should have been done by now. | * Inheritance and range checking should have been done by now. | ||||
*/ | */ | ||||
ASSERT(newval <= SPA_OLD_MAXBLOCKSIZE); | ASSERT(newval <= SPA_MAXBLOCKSIZE); | ||||
ASSERT(ISP2(newval)); | ASSERT(ISP2(newval)); | ||||
os->os_zpl_special_smallblock = newval; | os->os_zpl_special_smallblock = newval; | ||||
} | } | ||||
static void | static void | ||||
logbias_changed_cb(void *arg, uint64_t newval) | logbias_changed_cb(void *arg, uint64_t newval) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 2,707 Lines • Show Last 20 Lines |