mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-02-18 21:23:27 +03:00

Support added to provide reasonable values for the global Solaris VM variables: minfree, desfree, lotsfree, needfree. These values are set to the sum of their per-zone linux counterparts which should be close enough for Solaris consumers. When a non-GPL app links against the SPL we cannot use the udev interfaces, which means non of the device special files are created. Because of this I had added a poor mans udev which cause the SPL to invoke an upcall and create the basic devices when a minor is registered. When a minor is unregistered we use the vnode interface to unlink the special file.
7 lines
111 B
C
7 lines
111 B
C
#ifndef _SPL_DNLC_H
|
|
#define _SPL_DNLC_H
|
|
|
|
#define dnlc_reduce_cache(percent) ((void)0)
|
|
|
|
#endif /* SPL_DNLC_H */
|