Commit Graph

11 Commits

Author SHA1 Message Date
haad 732a349764 Register callbacks for reclaiming kvm kernel space to arc. Unregister both
kvm address space and memory callbacks from kernel during arc_fini call.
2009-08-12 21:52:41 +00:00
haad 15e894922a Add missing header file. 2009-08-10 22:47:09 +00:00
haad 494666162f Rename getline to zgetline to avoid clashes with NetBSD getline.
Problem found by zafer@.
2009-08-10 22:44:41 +00:00
haad 2bd9595b28 Fix number of arguments passed to do_sys_mkdir. 2009-08-10 22:41:51 +00:00
haad 4c1e749f2d Add some NetBSD fixes which I have forgot to commit during first round.
With these patches I can build solaris and zfs module again.
2009-08-10 22:38:02 +00:00
haad 2a8f255ae1 Enable zfs module only for machine with at least 512Mb ram. 2009-08-07 22:47:19 +00:00
haad 82fbb9f0e8 Fix bogus comment, and remove superfluous parenthesis. 2009-08-07 22:46:04 +00:00
haad fc8ec0b896 Add NetBSD Solaris compat code and reachover Makefiles. Most of code written
by Andrew Doran some of it by me.

This is still work in progress code. There are known issues. Zfs can panic
your system still. I will commit integration bits and needed kernel bits
later when we fix most obvious bugs. This code need some support from our
kernel which I will commit in a separate patch and therefore itnot work yet.

Issues:

1) Support for openat/fstatat syscalls.
2) getnewvnode locking against myself panic when reclaiming vnodes
3) Replace solaris taskq with our workqueue which doesn't need to alloc
   anything during work.
4) Investigate problems with NO_WAIT allocations.

Oked by core@ and ad@.
2009-08-07 20:57:55 +00:00
haad 6a125a398c Add NetBSD specific changes to OpenSolaris code. These changes were made
by Andrew Doran and me. Thank you Andrew for your great help.

Oked by core@ and ad@.
2009-08-07 20:16:44 +00:00
haad f26cdf114a Remove accidentally commited tar.bz2 file. 2009-08-07 18:48:48 +00:00
haad c1cb2cd89c Import Opensolaris source code used with zfs port. Zfs code si from date
200811.
2009-08-07 18:32:11 +00:00