<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/man/man5, branch zfs-0.6.2</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Fix 1M references in zpool-features.5</title>
<updated>2013-02-04T20:37:06+00:00</updated>
<author>
<name>Brian Behlendorf</name>
<email>behlendorf1@llnl.gov</email>
</author>
<published>2013-02-04T20:35:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a31770283a682384f477e864628d5a1a975c60ff'/>
<id>a31770283a682384f477e864628d5a1a975c60ff</id>
<content type='text'>
The zpool-features(5) man page should reference the Linux zfs(8)
and zpool(8) man pages.  The 1M convention isn't used on Linux.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1184
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The zpool-features(5) man page should reference the Linux zfs(8)
and zpool(8) man pages.  The 1M convention isn't used on Linux.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1184
</pre>
</div>
</content>
</entry>
<entry>
<title>Add zpool-features(5) man page</title>
<updated>2013-02-04T20:10:11+00:00</updated>
<author>
<name>Brian Behlendorf</name>
<email>behlendorf1@llnl.gov</email>
</author>
<published>2013-02-04T20:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3795ae5ed7a82aef8a1f2b19f871503fe8cfe3d8'/>
<id>3795ae5ed7a82aef8a1f2b19f871503fe8cfe3d8</id>
<content type='text'>
The zpool-features(5) man page was accidentally omitted from the
build target when feature flags was merged.  As a result it doesn't
get installed as part of 'make install' so none of the packages
include this man page.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1262
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The zpool-features(5) man page was accidentally omitted from the
build target when feature flags was merged.  As a result it doesn't
get installed as part of 'make install' so none of the packages
include this man page.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1262
</pre>
</div>
</content>
</entry>
<entry>
<title>Illumos #3035 LZ4 compression support in ZFS and GRUB</title>
<updated>2013-01-29T17:28:20+00:00</updated>
<author>
<name>Eric Dillmann</name>
<email>eric@jave.fr</email>
</author>
<published>2013-01-23T09:54:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9759c60f1a1503e48dc5c45a209c3edd5758319f'/>
<id>9759c60f1a1503e48dc5c45a209c3edd5758319f</id>
<content type='text'>
3035 LZ4 compression support in ZFS and GRUB

Reviewed by: Matthew Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: Christopher Siden &lt;christopher.siden@delphix.com&gt;
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Approved by: Christopher Siden &lt;csiden@delphix.com&gt;

References:
  illumos/illumos-gate@a6f561b4aee75d0d028e7b36b151c8ed8a86bc76
  https://www.illumos.org/issues/3035
  http://wiki.illumos.org/display/illumos/LZ4+Compression+In+ZFS

This patch has been slightly modified from the upstream Illumos
version to be compatible with Linux.  Due to the very limited
stack space in the kernel a lz4 workspace kmem cache is used.
Since we are using gcc we are also able to take advantage of the
gcc optimized __builtin_ctz functions.

Support for GRUB has been dropped from this patch.  That code
is available but those changes will need to made to the upstream
GRUB package.

Lastly, several hunks of dead code were dropped for clarity.  They
include the functions real_LZ4_uncompress(), LZ4_compressBound()
and the Visual Studio specific hunks wrapped in _MSC_VER.

Ported-by: Eric Dillmann &lt;eric@jave.fr&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1217
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
3035 LZ4 compression support in ZFS and GRUB

Reviewed by: Matthew Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: Christopher Siden &lt;christopher.siden@delphix.com&gt;
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Approved by: Christopher Siden &lt;csiden@delphix.com&gt;

References:
  illumos/illumos-gate@a6f561b4aee75d0d028e7b36b151c8ed8a86bc76
  https://www.illumos.org/issues/3035
  http://wiki.illumos.org/display/illumos/LZ4+Compression+In+ZFS

This patch has been slightly modified from the upstream Illumos
version to be compatible with Linux.  Due to the very limited
stack space in the kernel a lz4 workspace kmem cache is used.
Since we are using gcc we are also able to take advantage of the
gcc optimized __builtin_ctz functions.

Support for GRUB has been dropped from this patch.  That code
is available but those changes will need to made to the upstream
GRUB package.

Lastly, several hunks of dead code were dropped for clarity.  They
include the functions real_LZ4_uncompress(), LZ4_compressBound()
and the Visual Studio specific hunks wrapped in _MSC_VER.

Ported-by: Eric Dillmann &lt;eric@jave.fr&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1217
</pre>
</div>
</content>
</entry>
<entry>
<title>Illumos #3104: eliminate empty bpobjs</title>
<updated>2013-01-08T18:35:43+00:00</updated>
<author>
<name>Matthew Ahrens</name>
<email>mahrens@delphix.com</email>
</author>
<published>2012-12-23T23:57:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=753c38392ddff9d3cf140bb4d28f3bfba52c92d2'/>
<id>753c38392ddff9d3cf140bb4d28f3bfba52c92d2</id>
<content type='text'>
3104 eliminate empty bpobjs
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Reviewed by: Adam Leventhal &lt;ahl@delphix.com&gt;
Reviewed by: Christopher Siden &lt;chris.siden@delphix.com&gt;
Reviewed by: Garrett D'Amore &lt;garrett@damore.org&gt;
Approved by: Eric Schrock &lt;eric.schrock@delphix.com&gt;

References:
  illumos/illumos-gate@f17457368189aa911f774c38c1f21875a568bdca
  illumos changeset: 13782:8f78aae28a63
  https://www.illumos.org/issues/3104

Ported-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
3104 eliminate empty bpobjs
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Reviewed by: Adam Leventhal &lt;ahl@delphix.com&gt;
Reviewed by: Christopher Siden &lt;chris.siden@delphix.com&gt;
Reviewed by: Garrett D'Amore &lt;garrett@damore.org&gt;
Approved by: Eric Schrock &lt;eric.schrock@delphix.com&gt;

References:
  illumos/illumos-gate@f17457368189aa911f774c38c1f21875a568bdca
  illumos changeset: 13782:8f78aae28a63
  https://www.illumos.org/issues/3104

Ported-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Illumos #2762: zpool command should have better support for feature flags</title>
<updated>2013-01-08T18:35:43+00:00</updated>
<author>
<name>Christopher Siden</name>
<email>chris.siden@delphix.com</email>
</author>
<published>2012-12-14T23:00:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b9b24bb4ca45f2d903efadba44d10dfd182f62ac'/>
<id>b9b24bb4ca45f2d903efadba44d10dfd182f62ac</id>
<content type='text'>
2762 zpool command should have better support for feature flags
Reviewed by: Matthew Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Approved by: Eric Schrock &lt;Eric.Schrock@delphix.com&gt;

References:
  illumos/illumos-gate@57221772c3fc05faba04bf48ddff45abf2bbf2bd
  https://www.illumos.org/issues/2762

Ported-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2762 zpool command should have better support for feature flags
Reviewed by: Matthew Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Approved by: Eric Schrock &lt;Eric.Schrock@delphix.com&gt;

References:
  illumos/illumos-gate@57221772c3fc05faba04bf48ddff45abf2bbf2bd
  https://www.illumos.org/issues/2762

Ported-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Illumos #2619 and #2747</title>
<updated>2013-01-08T18:35:35+00:00</updated>
<author>
<name>Christopher Siden</name>
<email>chris.siden@delphix.com</email>
</author>
<published>2012-12-13T23:24:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9ae529ec5dbdc828ff8326beae58062971d74b2e'/>
<id>9ae529ec5dbdc828ff8326beae58062971d74b2e</id>
<content type='text'>
2619 asynchronous destruction of ZFS file systems
2747 SPA versioning with zfs feature flags
Reviewed by: Matt Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: George Wilson &lt;gwilson@delphix.com&gt;
Reviewed by: Richard Lowe &lt;richlowe@richlowe.net&gt;
Reviewed by: Dan Kruchinin &lt;dan.kruchinin@gmail.com&gt;
Approved by: Eric Schrock &lt;Eric.Schrock@delphix.com&gt;

References:
  illumos/illumos-gate@53089ab7c84db6fb76c16ca50076c147cda11757
  illumos/illumos-gate@ad135b5d644628e791c3188a6ecbd9c257961ef8
  illumos changeset: 13700:2889e2596bd6
  https://www.illumos.org/issues/2619
  https://www.illumos.org/issues/2747

NOTE: The grub specific changes were not ported.  This change
must be made to the Linux grub packages.

Ported-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2619 asynchronous destruction of ZFS file systems
2747 SPA versioning with zfs feature flags
Reviewed by: Matt Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: George Wilson &lt;gwilson@delphix.com&gt;
Reviewed by: Richard Lowe &lt;richlowe@richlowe.net&gt;
Reviewed by: Dan Kruchinin &lt;dan.kruchinin@gmail.com&gt;
Approved by: Eric Schrock &lt;Eric.Schrock@delphix.com&gt;

References:
  illumos/illumos-gate@53089ab7c84db6fb76c16ca50076c147cda11757
  illumos/illumos-gate@ad135b5d644628e791c3188a6ecbd9c257961ef8
  illumos changeset: 13700:2889e2596bd6
  https://www.illumos.org/issues/2619
  https://www.illumos.org/issues/2747

NOTE: The grub specific changes were not ported.  This change
must be made to the Linux grub packages.

Ported-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vdev_id support for device link aliases</title>
<updated>2012-12-03T22:04:47+00:00</updated>
<author>
<name>Ned Bass</name>
<email>bass6@llnl.gov</email>
</author>
<published>2012-11-29T19:08:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2957f38d78d376431ab18d2f576099d682d7a711'/>
<id>2957f38d78d376431ab18d2f576099d682d7a711</id>
<content type='text'>
Add a vdev_id feature to map device names based on already defined
udev device links.  To increase the odds that vdev_id will run after
the rules it depends on, increase the vdev.rules rule number from 60
to 69.  With this change, vdev_id now provides functionality analogous
to zpool_id and zpool_layout, paving the way to retire those tools.

A defined alias takes precedence over a topology-derived name, but the
two naming methods can otherwise coexist. For example, one might name
drives in a JBOD with the sas_direct topology while naming an internal
L2ARC device with an alias.

For example, the following lines in vdev_id.conf will result in the
creation of links /dev/disk/by-vdev/{d1,d2}, each pointing to the same
target as the device link specified in the third field.

  #     by-vdev
  #     name     fully qualified or base name of device link
  alias d1       /dev/disk/by-id/wwn-0x5000c5002de3b9ca
  alias d2       wwn-0x5000c5002def789e

Also perform some minor vdev_id cleanup, such as removal of the unused
-s command line option.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #981
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a vdev_id feature to map device names based on already defined
udev device links.  To increase the odds that vdev_id will run after
the rules it depends on, increase the vdev.rules rule number from 60
to 69.  With this change, vdev_id now provides functionality analogous
to zpool_id and zpool_layout, paving the way to retire those tools.

A defined alias takes precedence over a topology-derived name, but the
two naming methods can otherwise coexist. For example, one might name
drives in a JBOD with the sas_direct topology while naming an internal
L2ARC device with an alias.

For example, the following lines in vdev_id.conf will result in the
creation of links /dev/disk/by-vdev/{d1,d2}, each pointing to the same
target as the device link specified in the third field.

  #     by-vdev
  #     name     fully qualified or base name of device link
  alias d1       /dev/disk/by-id/wwn-0x5000c5002de3b9ca
  alias d2       wwn-0x5000c5002def789e

Also perform some minor vdev_id cleanup, such as removal of the unused
-s command line option.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #981
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove autotools products</title>
<updated>2012-08-27T18:47:44+00:00</updated>
<author>
<name>Brian Behlendorf</name>
<email>behlendorf1@llnl.gov</email>
</author>
<published>2012-08-27T01:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ca8b5af89d2c5826af7385bf18f3b377b0efde11'/>
<id>ca8b5af89d2c5826af7385bf18f3b377b0efde11</id>
<content type='text'>
Remove all of the generated autotools products from the repository
and update the .gitignore files accordingly.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #718
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove all of the generated autotools products from the repository
and update the .gitignore files accordingly.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #718
</pre>
</div>
</content>
</entry>
<entry>
<title>Set zvol discard_granularity to the volblocksize.</title>
<updated>2012-08-07T21:55:31+00:00</updated>
<author>
<name>Etienne Dechamps</name>
<email>etienne.dechamps@ovh.net</email>
</author>
<published>2012-08-01T08:29:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ee5fd0bb80d68ef095f831784cbb17181b2ba898'/>
<id>ee5fd0bb80d68ef095f831784cbb17181b2ba898</id>
<content type='text'>
Currently, zvols have a discard granularity set to 0, which suggests to
the upper layer that discard requests of arbirarily small size and
alignment can be made efficiently.

In practice however, ZFS does not handle unaligned discard requests
efficiently: indeed, it is unable to free a part of a block. It will
write zeros to the specified range instead, which is both useless and
inefficient (see dnode_free_range).

With this patch, zvol block devices expose volblocksize as their discard
granularity, so the upper layer is aware that it's not supposed to send
discard requests smaller than volblocksize.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #862
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, zvols have a discard granularity set to 0, which suggests to
the upper layer that discard requests of arbirarily small size and
alignment can be made efficiently.

In practice however, ZFS does not handle unaligned discard requests
efficiently: indeed, it is unable to free a part of a block. It will
write zeros to the specified range instead, which is both useless and
inefficient (see dnode_free_range).

With this patch, zvol block devices expose volblocksize as their discard
granularity, so the upper layer is aware that it's not supposed to send
discard requests smaller than volblocksize.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #862
</pre>
</div>
</content>
</entry>
<entry>
<title>Linux 3.5 compat, end_writeback() changed to clear_inode()</title>
<updated>2012-07-23T19:29:36+00:00</updated>
<author>
<name>Richard Yao</name>
<email>ryao@cs.stonybrook.edu</email>
</author>
<published>2012-07-23T18:39:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=739a1a82e0f366923e8d9bc8f9ad4b1c680a780b'/>
<id>739a1a82e0f366923e8d9bc8f9ad4b1c680a780b</id>
<content type='text'>
The end_writeback() function was changed by moving the call to
inode_sync_wait() earlier in to evict().   This effecitvely changes
the ordering of the sync but it does not impact the details of
the zfs implementation.

However, as part of this change end_writeback() was renamed to
clear_inode() to reflect the new semantics.  This change does
impact us and clear_inode() now maps to end_writeback() for
kernels prior to 3.5.

Signed-off-by: Richard Yao &lt;ryao@cs.stonybrook.edu&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #784
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The end_writeback() function was changed by moving the call to
inode_sync_wait() earlier in to evict().   This effecitvely changes
the ordering of the sync but it does not impact the details of
the zfs implementation.

However, as part of this change end_writeback() was renamed to
clear_inode() to reflect the new semantics.  This change does
impact us and clear_inode() now maps to end_writeback() for
kernels prior to 3.5.

Signed-off-by: Richard Yao &lt;ryao@cs.stonybrook.edu&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #784
</pre>
</div>
</content>
</entry>
</feed>
