ded09321 dim Jan. 3, 2017, 8:19 p.m.
pulling in all the PDB handling code.
cgit ViewVC
5eac94bf behlendorf1 Jan. 3, 2017, 6:29 p.m.
Running with a l2arc cache device around produces
the following error:

  Traceback (most recent call last):
    File "/usr/bin/", line 1148, in <module>
    File "/usr/bin/", line 1144, in main
    File "/usr/bin/", line 724, in _l2arc_summary
      arc["l2_arc_evicts"]["reading"] > 0:
  TypeError: unorderable types: str() > int()

This is due to arc["l2_arc_evicts"]['lock_retries'] and
arc["l2_arc_evicts"]["reading"] both being strings, returned
from fHits() earlier. Rather than adding them up and checking
if the result is > 0, this checks if either string is != '0'.

Reviewed-by: Brian Behlendorf <>
Reviewed-by: Giuseppe Di Natale <>
Closes #5538
dfb5f2eb dim Jan. 3, 2017, 6:10 p.m.
e9f2ce85 dim Jan. 3, 2017, 6:09 p.m.
545866cd dim Jan. 3, 2017, 6:09 p.m.
24d42e22 behlendorf1 Jan. 3, 2017, 6:03 p.m.
Authored by: Matthew Ahrens <>
Reviewed by: Dan Kimmel <>
Reviewed by: Prakash Surya <>
Reviewed by: Dan McDonald <>
Reviewed by: Igor Kozhukhov <>
Reviewed-by: Brian Behlendorf <>
Ported-by: George Melikov <>

The DS_FIELD_LARGE_BLOCKS macro has been unused since the integration of
this patch: 241b541 Illumos 5959 - clean up per-dataset feature count code.

This patch simply removes this macro from dsl_dataset.h.

Closes #5544
fa699bb2 asomers Jan. 3, 2017, 5:35 p.m.
	* Fix a potential null pointer dereference (CID 1305731)
	* Check for overrun of the ccb_scsiio.cdb_io.cdb_bytes buffer (CID

	* Nullify a dangling pointer in mprsas_get_sata_identify
	* Fix a memory leak in mprsas_SSU_to_SATA_devices (CID 1211935)

Reported by:	Coverity (partially)
CID:		1305731 1211934 1211935
Reviewed by:	slm
MFC after:	4 weeks
Sponsored by:	Spectra Logic Corp
Differential Revision:
cgit ViewVC
4e33ba4c behlendorf1 Jan. 3, 2017, 5:31 p.m.
Reviewed-by: Brian Behlendorf <
Reviewed-by: Giuseppe Di Natale <>>
Reviewed-by: George Melikov <>
Reviewed-by: Haakan T Johansson <>
Closes #5547 
Closes #5543
36ea5721 cognet Jan. 3, 2017, 5:24 p.m.

Reviewed by:	royger
cgit ViewVC
722e888d loos Jan. 3, 2017, 4:46 p.m.
The micro-Firewall DTS is now a single BSD licensed file.

Reported by:	manu
Obtained from:	pfSense
MFC after:	2 weeks
Sponsored by:	Rubicon Communications, LLC (Netgate)
cgit ViewVC
3d33d7f3 sbruno Jan. 3, 2017, 2:52 p.m.
Original log:
Do not initialize the adapter on MTU change when adapter status is down.
This fixes long-standing problems when changing settings of the adapter.

Discussed in:

Reported by:	Franco Fichtner <>
MFH:		2 days
cgit ViewVC
48f79574 jhb Jan. 3, 2017, 1:39 a.m.
As a followup to r310638, update libsysdecode (and kdump) to decode the
'mode' argument to getfsstat().  sysdecode_getfsstat_flags() has been
renamed to sysdecode_getfsstat_mode() and now treats the argument as an
enumerated value rather than a mask of flags.
cgit ViewVC
91371de1 markj Jan. 3, 2017, 12:24 a.m.
These indices are input to a build-time script that generates code to
validate subroutine names.
cgit ViewVC
b1fd102e markj Jan. 3, 2017, 12:05 a.m.
On systems without a configured swap device, an attempt to launder pages
from a swap object will always fail and result in the page being
reactivated. This means that the page daemon will continuously scan pages
that can never be evicted. With this change, anonymous pages are instead
moved to PQ_UNSWAPPABLE after a failed laundering attempt when no swap
devices are configured. PQ_UNSWAPPABLE is not scanned unless a swap device
is configured, so unreferenced unswappable pages are excluded from the page
daemon's workload.

Reviewed by:	alc
cgit ViewVC
5bf4713b dim Jan. 2, 2017, 10:05 p.m.