<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/scripts, branch zfs-0.7.0-rc2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=zfs-0.7.0-rc2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=zfs-0.7.0-rc2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-10-06T17:31:42Z</updated>
<entry>
<title>Add icp kernel module to dkms build</title>
<updated>2016-10-06T17:31:42Z</updated>
<author>
<name>Marcel Huber</name>
<email>marcelhuberfoo@gmail.com</email>
</author>
<published>2016-10-06T17:31:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af322debaa11b22c4fe7b6bc8941e562694eabb2'/>
<id>urn:sha1:af322debaa11b22c4fe7b6bc8941e562694eabb2</id>
<content type='text'>
Added new section to build icp module.

Reviewed by: Richard Laager &lt;rlaager@wiktel.com&gt;
Reviewed-by: Tom Caputi &lt;tcaputi@datto.com&gt;
Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #5232 
Closes #5234 </content>
</entry>
<entry>
<title>Merge OpenZFS 4185</title>
<updated>2016-10-04T18:20:38Z</updated>
<author>
<name>Brian Behlendorf</name>
<email>behlendorf1@llnl.gov</email>
</author>
<published>2016-10-04T18:20:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5cc78dc81232bc474d25ccfcacb42d80d83c5310'/>
<id>urn:sha1:5cc78dc81232bc474d25ccfcacb42d80d83c5310</id>
<content type='text'>
OpenZFS 4185 - add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R

Reviewed-by: Chunwei Chen &lt;david.chen@osnexus.com&gt;
Reviewed-by: Tom Caputi &lt;tcaputi@datto.com&gt;
Reviewed-by: David Quigley &lt;david.quigley@intel.com&gt;
Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Tony Hutter &lt;hutter2@llnl.gov&gt;
Closes #4760 </content>
</entry>
<entry>
<title>zloop: check if core file is generated by zdb</title>
<updated>2016-10-03T22:42:13Z</updated>
<author>
<name>Gvozden Neskovic</name>
<email>neskovic@gmail.com</email>
</author>
<published>2016-10-03T22:42:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0c313d2f7451041e9cc952fe68fb500efef52fe1'/>
<id>urn:sha1:0c313d2f7451041e9cc952fe68fb500efef52fe1</id>
<content type='text'>
Run `gdb` core file inspection with correct program.

Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Gvozden Neskovic &lt;neskovic@gmail.com&gt;
Closes #5215 </content>
</entry>
<entry>
<title>OpenZFS 4185 - add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-R</title>
<updated>2016-10-03T21:51:15Z</updated>
<author>
<name>Tony Hutter</name>
<email>hutter2@llnl.gov</email>
</author>
<published>2016-06-15T22:47:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3c67d83a8afb391f20bc53d36a0cebea6897b3e2'/>
<id>urn:sha1:3c67d83a8afb391f20bc53d36a0cebea6897b3e2</id>
<content type='text'>
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Reviewed by: Prakash Surya &lt;prakash.surya@delphix.com&gt;
Reviewed by: Saso Kiselkov &lt;saso.kiselkov@nexenta.com&gt;
Reviewed by: Richard Lowe &lt;richlowe@richlowe.net&gt;
Approved by: Garrett D'Amore &lt;garrett@damore.org&gt;
Ported by: Tony Hutter &lt;hutter2@llnl.gov&gt;

OpenZFS-issue: https://www.illumos.org/issues/4185
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/45818ee

Porting Notes:
This code is ported on top of the Illumos Crypto Framework code:

    https://github.com/zfsonlinux/zfs/pull/4329/commits/b5e030c8dbb9cd393d313571dee4756fbba8c22d

The list of porting changes includes:

- Copied module/icp/include/sha2/sha2.h directly from illumos

- Removed from module/icp/algs/sha2/sha2.c:
	#pragma inline(SHA256Init, SHA384Init, SHA512Init)

- Added 'ctx' to lib/libzfs/libzfs_sendrecv.c:zio_checksum_SHA256() since
  it now takes in an extra parameter.

- Added CTASSERT() to assert.h from for module/zfs/edonr_zfs.c

- Added skein &amp; edonr to libicp/Makefile.am

- Added sha512.S.  It was generated from sha512-x86_64.pl in Illumos.

- Updated ztest.c with new fletcher_4_*() args; used NULL for new CTX argument.

- In icp/algs/edonr/edonr_byteorder.h, Removed the #if defined(__linux) section
  to not #include the non-existant endian.h.

- In skein_test.c, renane NULL to 0 in "no test vector" array entries to get
  around a compiler warning.

- Fixup test files:
	- Rename &lt;sys/varargs.h&gt; -&gt; &lt;varargs.h&gt;, &lt;strings.h&gt; -&gt; &lt;string.h&gt;,
	- Remove &lt;note.h&gt; and define NOTE() as NOP.
	- Define u_longlong_t
	- Rename "#!/usr/bin/ksh" -&gt; "#!/bin/ksh -p"
	- Rename NULL to 0 in "no test vector" array entries to get around a
	  compiler warning.
	- Remove "for isa in $($ISAINFO); do" stuff
	- Add/update Makefiles
	- Add some userspace headers like stdio.h/stdlib.h in places of
	  sys/types.h.

- EXPORT_SYMBOL *_Init/*_Update/*_Final... routines in ICP modules.

- Update scripts/zfs2zol-patch.sed

- include &lt;sys/sha2.h&gt; in sha2_impl.h

- Add sha2.h to include/sys/Makefile.am

- Add skein and edonr dirs to icp Makefile

- Add new checksums to zpool_get.cfg

- Move checksum switch block from zfs_secpolicy_setprop() to
  zfs_check_settable()

- Fix -Wuninitialized error in edonr_byteorder.h on PPC

- Fix stack frame size errors on ARM32
  	- Don't unroll loops in Skein on 32-bit to save stack space
  	- Add memory barriers in sha2.c on 32-bit to save stack space

- Add filetest_001_pos.ksh checksum sanity test

- Add option to write psudorandom data in file_write utility
</content>
</entry>
<entry>
<title>Add a script to change file names when upstreaming to OpenZFS/illumos</title>
<updated>2016-09-30T04:01:50Z</updated>
<author>
<name>Matthew Ahrens</name>
<email>mahrens@delphix.com</email>
</author>
<published>2016-09-30T04:01:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ec009855c4a43c83837741f787ab26cb7f8edfdc'/>
<id>urn:sha1:ec009855c4a43c83837741f787ab26cb7f8edfdc</id>
<content type='text'>
Add a script to change file names when upstreaming to OpenZFS/illumos.

Reviewed-by: Reviewed by: Prashanth Sreenivasa &lt;prashksp@gmail.com&gt;
Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Matt Ahrens &lt;mahrens@delphix.com&gt;
Closes #5178 </content>
</entry>
<entry>
<title>Change /etc/mtab to /proc/self/mounts</title>
<updated>2016-09-20T17:07:58Z</updated>
<author>
<name>slashdd</name>
<email>eric.desrochers@canonical.com</email>
</author>
<published>2016-09-20T17:07:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=792517389fad5c495a2738b61c2e9c65dedaaa9a'/>
<id>urn:sha1:792517389fad5c495a2738b61c2e9c65dedaaa9a</id>
<content type='text'>
Fix misleading error message:

 "The /dev/zfs device is missing and must be created.", if /etc/mtab is missing.

Reviewed-by: Richard Laager &lt;rlaager@wiktel.com&gt;
Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Eric Desrochers &lt;eric.desrochers@canonical.com&gt;
Closes #4680 
Closes #5029</content>
</entry>
<entry>
<title>OpenZFS - Performance regression suite for zfstest</title>
<updated>2016-09-08T23:18:28Z</updated>
<author>
<name>John Wren Kennedy</name>
<email>john.kennedy@delphix.com</email>
</author>
<published>2016-08-03T21:26:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=679d73e98bf5e51a02bc8d550253e4a3f15d58ca'/>
<id>urn:sha1:679d73e98bf5e51a02bc8d550253e4a3f15d58ca</id>
<content type='text'>
Author: John Wren Kennedy &lt;john.kennedy@delphix.com&gt;
Reviewed by: Prakash Surya &lt;prakash.surya@delphix.com&gt;
Reviewed by: Dan Kimmel &lt;dan.kimmel@delphix.com&gt;
Reviewed by: Matt Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: Paul Dagnelie &lt;pcd@delphix.com&gt;
Reviewed by: Don Brady &lt;don.brady@intel.com&gt;
Reviewed by: Richard Elling &lt;Richard.Elling@RichardElling.com&gt;
Reviewed by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Reviewed-by: David Quigley &lt;david.quigley@intel.com&gt;
Approved by: Richard Lowe &lt;richlowe@richlowe.net&gt;
Ported-by: Don Brady &lt;don.brady@intel.com&gt;

OpenZFS-issue: https://www.illumos.org/issues/6950
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/dcbf3bd6
Delphix-commit: https://github.com/delphix/delphix-os/commit/978ed49
Closes #4929

ZFS Test Suite Performance Regression Tests

This was pulled into OpenZFS via the compressed arc featureand was
separated out in zfsonlinux as a separate pull request from PR-4768.
It originally came in as QA-4903 in Delphix-OS from John Kennedy.

Expected Usage:

$ DISKS="sdb sdc sdd" zfs-tests.sh -r perf-regression.run

Porting Notes:
1. Added assertions in the setup script to make sure required tools
   (fio, mpstat, ...) are present.
2. For the config.json generation in perf.shlib used arcstats and
    other binaries instead of dtrace to query the values.
3. For the perf data collection:
   - use "zpool iostat -lpvyL" instead of the io.d dtrace script
    (currently not collecting zfs_read/write latency stats)
   - mpstat and iostat take different arguments
   - prefetch_io.sh is a placeholder that uses arcstats instead of
     dtrace
4. Build machines require fio, mdadm and sysstat pakage (YMMV).

Future Work:
   - Need a way to measure zfs_read and zfs_write latencies per pool.
   - Need tools to takes two sets of output and display/graph the
     differences
   - Bring over additional regression tests from Delphix
</content>
</entry>
<entry>
<title>Bring over illumos ZFS FMA logic -- phase 1</title>
<updated>2016-09-01T18:39:45Z</updated>
<author>
<name>Don Brady</name>
<email>don.brady@intel.com</email>
</author>
<published>2016-08-31T21:46:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d02ca379795a37b8541da5a1b37528f7130de1e6'/>
<id>urn:sha1:d02ca379795a37b8541da5a1b37528f7130de1e6</id>
<content type='text'>
This first phase brings over the ZFS SLM module, zfs_mod.c, to handle
auto operations in response to disk events. Disk event monitoring is
provided from libudev and generates the expected payload schema for
zfs_mod. This work leverages the recently added devid and phys_path
strings in the vdev label.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Don Brady &lt;don.brady@intel.com&gt;
Signed-off-by: Tony Hutter &lt;hutter2@llnl.gov&gt;
Closes #4673
</content>
</entry>
<entry>
<title>zloop: print backtrace from core files</title>
<updated>2016-07-25T18:47:21Z</updated>
<author>
<name>Gvozden Neskovic</name>
<email>neskovic@gmail.com</email>
</author>
<published>2016-07-24T19:55:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=20da056688ef9b41ed4c0a9ee9ff4cd36949c3d8'/>
<id>urn:sha1:20da056688ef9b41ed4c0a9ee9ff4cd36949c3d8</id>
<content type='text'>
Find the core file by using `/proc/sys/kernel/core_pattern`

Signed-off-by: Gvozden Neskovic &lt;neskovic@gmail.com&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #4874
</content>
</entry>
<entry>
<title>Illumos Crypto Port module added to enable native encryption in zfs</title>
<updated>2016-07-20T17:43:30Z</updated>
<author>
<name>Tom Caputi</name>
<email>tcaputi@datto.com</email>
</author>
<published>2016-05-12T14:51:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0b04990a5de594659d2cf20458965277dd6efeb1'/>
<id>urn:sha1:0b04990a5de594659d2cf20458965277dd6efeb1</id>
<content type='text'>
A port of the Illumos Crypto Framework to a Linux kernel module (found
in module/icp). This is needed to do the actual encryption work. We cannot
use the Linux kernel's built in crypto api because it is only exported to
GPL-licensed modules. Having the ICP also means the crypto code can run on
any of the other kernels under OpenZFS. I ended up porting over most of the
internals of the framework, which means that porting over other API calls (if
we need them) should be fairly easy. Specifically, I have ported over the API
functions related to encryption, digests, macs, and crypto templates. The ICP
is able to use assembly-accelerated encryption on amd64 machines and AES-NI
instructions on Intel chips that support it. There are place-holder
directories for similar assembly optimizations for other architectures
(although they have not been written).

Signed-off-by: Tom Caputi &lt;tcaputi@datto.com&gt;
Signed-off-by: Tony Hutter &lt;hutter2@llnl.gov&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Issue #4329
</content>
</entry>
</feed>
