diff options
author | Brian Behlendorf <[email protected]> | 2009-02-04 15:15:41 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-02-04 15:15:41 -0800 |
commit | 36b313dacf2f60f526fe98b7e9d1a6bbcbb250d2 (patch) | |
tree | f6441a23afb2eebbe2490dae46abd5aad8beede7 /spl_config.h.in | |
parent | 31a033ecd49c2f691d6a377db2882ed941f47481 (diff) |
Linux VM integration / device special files
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.
Diffstat (limited to 'spl_config.h.in')
-rw-r--r-- | spl_config.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spl_config.h.in b/spl_config.h.in index a4a8ccd32..2bfb5c487 100644 --- a/spl_config.h.in +++ b/spl_config.h.in @@ -45,6 +45,9 @@ /* files_fdtable() is available */ #undef HAVE_FILES_FDTABLE +/* first_online_pgdat() is available */ +#undef HAVE_FIRST_ONLINE_PGDAT + /* fls64() is available */ #undef HAVE_FLS64 @@ -66,6 +69,12 @@ /* monotonic_clock() is available */ #undef HAVE_MONOTONIC_CLOCK +/* next_online_pgdat() is available */ +#undef HAVE_NEXT_ONLINE_PGDAT + +/* next_zone() is available */ +#undef HAVE_NEXT_ZONE + /* struct path used in struct nameidata */ #undef HAVE_PATH_IN_NAMEIDATA |