MFp4: Start DNLC after desiredvnodes variable is initialized.
Before this change if zfs.ko was loaded by the loader, DNLC was automatically disabled. Reported by: Zephiris <zephiris@gmail.com>
This commit is contained in:
parent
2b83592fdc
commit
7ae6548e62
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168753
@ -839,5 +839,5 @@ dnlc_lowvnodes(void *arg __unused, int nvnodes)
|
||||
dnlc_reduce_cache((void *)(intptr_t)nvnodes);
|
||||
}
|
||||
|
||||
SYSINIT(dnlc, SI_SUB_DRIVERS, SI_ORDER_ANY, dnlc_init, NULL);
|
||||
SYSUNINIT(dnlc, SI_SUB_DRIVERS, SI_ORDER_ANY, dnlc_fini, NULL);
|
||||
SYSINIT(dnlc, SI_SUB_VFS, SI_ORDER_ANY, dnlc_init, NULL);
|
||||
SYSUNINIT(dnlc, SI_SUB_VFS, SI_ORDER_ANY, dnlc_fini, NULL);
|
||||
|
@ -839,5 +839,5 @@ dnlc_lowvnodes(void *arg __unused, int nvnodes)
|
||||
dnlc_reduce_cache((void *)(intptr_t)nvnodes);
|
||||
}
|
||||
|
||||
SYSINIT(dnlc, SI_SUB_DRIVERS, SI_ORDER_ANY, dnlc_init, NULL);
|
||||
SYSUNINIT(dnlc, SI_SUB_DRIVERS, SI_ORDER_ANY, dnlc_fini, NULL);
|
||||
SYSINIT(dnlc, SI_SUB_VFS, SI_ORDER_ANY, dnlc_init, NULL);
|
||||
SYSUNINIT(dnlc, SI_SUB_VFS, SI_ORDER_ANY, dnlc_fini, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user