> On 01 Dec 2016, at 01:33, Dan McDonald <[email protected]> wrote: > > git clone -b <release> https://github.com/omniti-labs/illumos-omnios > > <release> is any one of r151014, r151018, r151020. The "master" branch is > the OmniOS bloody source.
So attached is a patch against r151014. It contains the PR we are talking about : https://github.com/openzfs/openzfs/pull/189 And the following one, as it is let's say related : https://github.com/openzfs/openzfs/pull/222 The only thing I was not able to so is the following : +SYSCTL_INT(_vfs_zfs, OID_AUTO, arc_evict_l2_first, CTLFLAG_RW, + &arc_evict_l2_first, 0, "first evict buffers from ARC which are in L2ARC"); +SYSCTL_INT(_vfs_zfs, OID_AUTO, arc_evict_l2_only, CTLFLAG_RW, + &arc_evict_l2_only, 0, "only evict buffers from ARC which are in L2ARC"); These are the declarations of the syctls, for FreeBSB. I'm not sure how it is done in OmniOS. Defaults values in the patch are the following : arc_evict_l2_first = B_TRUE arc_evict_l2_only = B_FALSE Perhaps you could simply hard-set both to B_TRUE and give it a try. Ben
PR_189_222_ omnios151014.patch
Description: Binary data
------------------------------------------- openzfs-developer Archives: https://www.listbox.com/member/archive/274414/=now RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa Modify Your Subscription: https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c Powered by Listbox: http://www.listbox.com
