<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib, 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-25T23:17:47Z</updated>
<entry>
<title>Allow for '-o feature@&lt;feature&gt;=disabled' on the command line</title>
<updated>2016-10-25T23:17:47Z</updated>
<author>
<name>LOLi</name>
<email>loli10K@users.noreply.github.com</email>
</author>
<published>2016-10-25T23:17:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4010f2719e3381ae15563d50b99e51ffe2b2168'/>
<id>urn:sha1:e4010f2719e3381ae15563d50b99e51ffe2b2168</id>
<content type='text'>
Sometimes it is desirable to specifically disable one or several
features directly on the 'zpool create' command line.

$ zpool create -o feature@&lt;feature&gt;=disabled ...

Original-patch-by: Turbo Fredriksson &lt;turbo@bayour.com&gt;
Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: loli10K &lt;ezomori.nozomu@gmail.com&gt;
Closes #3460 
Closes #5142 
Closes #5324 </content>
</entry>
<entry>
<title>Fix coverity defects: CID 147511, 147513</title>
<updated>2016-10-24T20:37:38Z</updated>
<author>
<name>cao</name>
<email>cao.xuewen@zte.com.cn</email>
</author>
<published>2016-10-24T20:37:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aed0e9f3e4db75f4b622e1f0623fe61a94a43dc2'/>
<id>urn:sha1:aed0e9f3e4db75f4b622e1f0623fe61a94a43dc2</id>
<content type='text'>
CID 147511: Type:Dereference before null check
CID 147513: Type:Dereference before null check

Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: cao.xuewen &lt;cao.xuewen@zte.com.cn&gt;
Closes #5306 </content>
</entry>
<entry>
<title>Turn on/off enclosure slot fault LED even when disk isn't present</title>
<updated>2016-10-24T17:45:59Z</updated>
<author>
<name>Tony Hutter</name>
<email>hutter2@llnl.gov</email>
</author>
<published>2016-10-24T17:45:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1bbd8770490f0e5b8c575865ab70f6853bca2a2a'/>
<id>urn:sha1:1bbd8770490f0e5b8c575865ab70f6853bca2a2a</id>
<content type='text'>
Previously when a drive faulted, the statechange-led.sh script would lookup
the drive's LED sysfs entry in /sys/block/sd*/device/enclosure_device, and
turn it on.  During testing we noticed that if you pulled out a drive, or if
the drive was so badly broken that it no longer appeared to Linux, that the
/sys/block/sd* path would be removed, and the script could not lookup the
LED entry.

To fix this, this patch looks up the disks's more persistent
"/sys/class/enclosure/X:X:X:X/Slot N" LED sysfs path at pool import.  It then
passes that path to the statechange-led script to use, rather than having the
script look it up on the fly.  This allows the script to turn on/off the slot
LEDs even when the drive is missing.

Closes #5309 
Closes #2375 </content>
</entry>
<entry>
<title>Fletcher4 algorithm implemented in pure NEON for Aarch64 / ARMv8 64 bits</title>
<updated>2016-10-21T17:55:49Z</updated>
<author>
<name>Romain Dolbeau</name>
<email>romain.github@dolbeau.name</email>
</author>
<published>2016-10-21T17:55:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=24cdeaf12e9e546621902449699fc6d664aeac2b'/>
<id>urn:sha1:24cdeaf12e9e546621902449699fc6d664aeac2b</id>
<content type='text'>
This is not useful on micro-architecture with a weak NEON
implementation (only 64 bits); the native version is slower &amp;
the byteswap barely faster than scalar.  On A53 or A57, it's
a small improvement on scalar but OK for byteswap.

Results from an A53 system:
0 0 0x01 -1 0 1499068294333000 1499101101878000
implementation   native         byteswap       
scalar           1008227510     755880264      
aarch64_neon     1198098720     1044818671     
fastest          aarch64_neon   aarch64_neon 

Results from a A57 system:
0 0 0x01 -1 0 4407214734807033 4407233933777404
implementation   native         byteswap       
scalar           2302071241     1124873346     
aarch64_neon     2542214946     2245570352     
fastest          aarch64_neon   aarch64_neon 

Reviewed-by: Gvozden Neskovic &lt;neskovic@gmail.com&gt;
Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Romain Dolbeau &lt;romain.dolbeau@atos.net&gt;
Closes #5248 </content>
</entry>
<entry>
<title>Fix coverity defects: CID 147551, 147552</title>
<updated>2016-10-20T18:49:50Z</updated>
<author>
<name>cao</name>
<email>cao.xuewen@zte.com.cn</email>
</author>
<published>2016-10-20T18:49:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9d01680430377b39dc34aaaf6ef315c49b3943cc'/>
<id>urn:sha1:9d01680430377b39dc34aaaf6ef315c49b3943cc</id>
<content type='text'>
CID 147551: Type:dereference null return value
CID 147552: Type:dereference null return value

Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: cao.xuewen &lt;cao.xuewen@zte.com.cn&gt;
Closes #5279 </content>
</entry>
<entry>
<title>Multipath autoreplace, control enclosure LEDs, event rate limiting</title>
<updated>2016-10-19T19:55:59Z</updated>
<author>
<name>Tony Hutter</name>
<email>hutter2@llnl.gov</email>
</author>
<published>2016-10-19T19:55:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6078881aa18a45ea065a887e2a8606279cdc0329'/>
<id>urn:sha1:6078881aa18a45ea065a887e2a8606279cdc0329</id>
<content type='text'>
1. Enable multipath autoreplace support for FMA.

This extends FMA autoreplace to work with multipath disks.  This
requires libdevmapper to be installed at build time.

2. Turn on/off fault LEDs when VDEVs become degraded/faulted/online

Set ZED_USE_ENCLOSURE_LEDS=1 in zed.rc to have ZED turn on/off the enclosure
LED for a drive when a drive becomes FAULTED/DEGRADED.  Your enclosure must
be supported by the Linux SES driver for this to work.  The enclosure LED
scripts work for multipath devices as well.  The scripts will clear the LED
when the fault is cleared.

3. Rate limit ZIO delay and checksum events so as not to flood ZED

ZIO delay and checksum events are rate limited to 5/sec in the zfs module.

Reviewed-by: Richard Laager &lt;rlaager@wiktel.com&gt;
Reviewed by: Don Brady &lt;don.brady@intel.com&gt;
Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Tony Hutter &lt;hutter2@llnl.gov&gt;
Closes #2449 
Closes #3017 
Closes #5159 </content>
</entry>
<entry>
<title>Fix coverity defects: CID 147488, 147490</title>
<updated>2016-10-14T18:00:47Z</updated>
<author>
<name>cao</name>
<email>cao.xuewen@zte.com.cn</email>
</author>
<published>2016-10-14T18:00:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b6ca6193f7678a9d8790f4319c982cc34b59f150'/>
<id>urn:sha1:b6ca6193f7678a9d8790f4319c982cc34b59f150</id>
<content type='text'>
CID 147488, Type:explicit null dereferenced
CID 147490, Type:dereference null return value

Reviewed-by: Giuseppe Di Natale &lt;dinatale2@llnl.gov&gt;
Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: cao.xuewen &lt;cao.xuewen@zte.com.cn&gt;
Closes #5237 </content>
</entry>
<entry>
<title>Fix coverity defects: CID 150921, 150927</title>
<updated>2016-10-14T16:40:08Z</updated>
<author>
<name>luozhengzheng</name>
<email>luo.zhengzheng@zte.com.cn</email>
</author>
<published>2016-10-14T16:40:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9a875c6c5dd1e7cb0dad56d593a428d570ea5111'/>
<id>urn:sha1:9a875c6c5dd1e7cb0dad56d593a428d570ea5111</id>
<content type='text'>
CID 150921: Unchecked return value (CHECKED_RETURN)
CID 150927 : Unchecked return value (CHECKED_RETURN)

Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: luozhengzheng &lt;luo.zhengzheng@zte.com.cn&gt;
Closes #5267 </content>
</entry>
<entry>
<title>Fix coverity defects: CID 147654, 147690</title>
<updated>2016-10-13T21:02:07Z</updated>
<author>
<name>GeLiXin</name>
<email>ge.lixin@zte.com.cn</email>
</author>
<published>2016-10-13T21:02:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45cb520b9d1b8200992f879d1ed6f472e94c6c6b'/>
<id>urn:sha1:45cb520b9d1b8200992f879d1ed6f472e94c6c6b</id>
<content type='text'>
coverity scan CID:147654,type: Copy into fixed size buffer
- string operation may write past the end of the fixed-size
  destination buffer

coverity scan CID:147690,type: Uninitialized scalar variable
- call zfs_prop_get first in case we use sourcetype and
  share_sourcetype without initialization

Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: GeLiXin &lt;ge.lixin@zte.com.cn&gt;
Closes #5253 </content>
</entry>
<entry>
<title>Fix coverity defects: CID 147606, 147609</title>
<updated>2016-10-12T18:16:47Z</updated>
<author>
<name>cao</name>
<email>cao.xuewen@zte.com.cn</email>
</author>
<published>2016-10-12T18:16:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=06cf4d989058a65f72b140d85e2c21effd3b3834'/>
<id>urn:sha1:06cf4d989058a65f72b140d85e2c21effd3b3834</id>
<content type='text'>
coverity scan CID:147606, Type:resource leak
coverity scan CID:147609, Type:resource leak

Reviewed-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: cao.xuewen &lt;cao.xuewen@zte.com.cn&gt;
Closes #5245 </content>
</entry>
</feed>
