<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libspl/include/sys, branch zfs-0.6.3</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Add support for aarch64 (ARMv8)</title>
<updated>2014-04-25T22:35:30+00:00</updated>
<author>
<name>Jorgen Lundman</name>
<email>lundman@lundman.net</email>
</author>
<published>2014-04-16T03:20:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cdf37f0c596bbdca8464ccf99482725507724fae'/>
<id>cdf37f0c596bbdca8464ccf99482725507724fae</id>
<content type='text'>
Using the ARM reference simulation (fast model foundation v8) I
cross compiled spl and zfs, to confirm it works on ARMv8 (64 bit
arm architecture, called aarch64 in Linux).

As it is based on previous ARM porting, the resulting patch is
disappointingly small, there was very little to do. The code fixes
the compile issues and has light testing done.

Signed-off-by: Jorgen Lundman &lt;lundman@lundman.net&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #2260
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the ARM reference simulation (fast model foundation v8) I
cross compiled spl and zfs, to confirm it works on ARMv8 (64 bit
arm architecture, called aarch64 in Linux).

As it is based on previous ARM porting, the resulting patch is
disappointingly small, there was very little to do. The code fixes
the compile issues and has light testing done.

Signed-off-by: Jorgen Lundman &lt;lundman@lundman.net&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #2260
</pre>
</div>
</content>
</entry>
<entry>
<title>Define the needed ISA types for Sparc</title>
<updated>2014-01-09T23:49:59+00:00</updated>
<author>
<name>Brian Behlendorf</name>
<email>behlendorf1@llnl.gov</email>
</author>
<published>2014-01-07T22:14:33+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d7ec8d4fd9b704f6bc1220e6a79472ad9b3af0c8'/>
<id>d7ec8d4fd9b704f6bc1220e6a79472ad9b3af0c8</id>
<content type='text'>
Add the minimum required ISA types to support the Sparc
architecture.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Ned Bass &lt;bass6@llnl.gov&gt;
Signed-off-by: marku89 &lt;mar42@kola.li&gt;
Issue #1700
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the minimum required ISA types to support the Sparc
architecture.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Ned Bass &lt;bass6@llnl.gov&gt;
Signed-off-by: marku89 &lt;mar42@kola.li&gt;
Issue #1700
</pre>
</div>
</content>
</entry>
<entry>
<title>Add full SELinux support</title>
<updated>2013-12-19T18:37:31+00:00</updated>
<author>
<name>Matthew Thode</name>
<email>mthode@mthode.org</email>
</author>
<published>2013-12-19T06:24:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=11b9ec23b98eefe1e7bde0033dc8285f94cb0b90'/>
<id>11b9ec23b98eefe1e7bde0033dc8285f94cb0b90</id>
<content type='text'>
Four new dataset properties have been added to support SELinux.  They
are 'context', 'fscontext', 'defcontext' and 'rootcontext' which map
directly to the context options described in mount(8).  When one of
these properties is set to something other than 'none'.  That string
will be passed verbatim as a mount option for the given context when
the filesystem is mounted.

For example, if you wanted the rootcontext for a filesystem to be set
to 'system_u:object_r:fs_t' you would set the property as follows:

  $ zfs set rootcontext="system_u:object_r:fs_t" storage-pool/media

This will ensure the filesystem is automatically mounted with that
rootcontext.  It is equivalent to manually specifying the rootcontext
with the -o option like this:

  $ zfs mount -o rootcontext=system_u:object_r:fs_t storage-pool/media

By default all four contexts are set to 'none'.  Further information
on SELinux contexts is detailed in mount(8) and selinux(8) man pages.

Signed-off-by: Matthew Thode &lt;prometheanfire@gentoo.org&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Richard Yao &lt;ryao@gentoo.org&gt;
Closes #1504
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Four new dataset properties have been added to support SELinux.  They
are 'context', 'fscontext', 'defcontext' and 'rootcontext' which map
directly to the context options described in mount(8).  When one of
these properties is set to something other than 'none'.  That string
will be passed verbatim as a mount option for the given context when
the filesystem is mounted.

For example, if you wanted the rootcontext for a filesystem to be set
to 'system_u:object_r:fs_t' you would set the property as follows:

  $ zfs set rootcontext="system_u:object_r:fs_t" storage-pool/media

This will ensure the filesystem is automatically mounted with that
rootcontext.  It is equivalent to manually specifying the rootcontext
with the -o option like this:

  $ zfs mount -o rootcontext=system_u:object_r:fs_t storage-pool/media

By default all four contexts are set to 'none'.  Further information
on SELinux contexts is detailed in mount(8) and selinux(8) man pages.

Signed-off-by: Matthew Thode &lt;prometheanfire@gentoo.org&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: Richard Yao &lt;ryao@gentoo.org&gt;
Closes #1504
</pre>
</div>
</content>
</entry>
<entry>
<title>cstyle: Resolve C style issues</title>
<updated>2013-12-19T00:46:35+00:00</updated>
<author>
<name>Michael Kjorling</name>
<email>michael@kjorling.se</email>
</author>
<published>2013-11-01T19:26:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d1d7e2689db9e03f11c069ebc9f1ba12829e5dac'/>
<id>d1d7e2689db9e03f11c069ebc9f1ba12829e5dac</id>
<content type='text'>
The vast majority of these changes are in Linux specific code.
They are the result of not having an automated style checker to
validate the code when it was originally written.  Others were
caused when the common code was slightly adjusted for Linux.

This patch contains no functional changes.  It only refreshes
the code to conform to style guide.

Everyone submitting patches for inclusion upstream should now
run 'make checkstyle' and resolve any warning prior to opening
a pull request.  The automated builders have been updated to
fail a build if when 'make checkstyle' detects an issue.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1821
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The vast majority of these changes are in Linux specific code.
They are the result of not having an automated style checker to
validate the code when it was originally written.  Others were
caused when the common code was slightly adjusted for Linux.

This patch contains no functional changes.  It only refreshes
the code to conform to style guide.

Everyone submitting patches for inclusion upstream should now
run 'make checkstyle' and resolve any warning prior to opening
a pull request.  The automated builders have been updated to
fail a build if when 'make checkstyle' detects an issue.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1821
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle acl flags from util-linux mount command</title>
<updated>2013-12-19T00:46:20+00:00</updated>
<author>
<name>renelson</name>
<email>bnelson@nelsonbe.com</email>
</author>
<published>2013-12-17T18:44:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a5f3665168946318c98ed5407b9314d400bd6dde'/>
<id>a5f3665168946318c98ed5407b9314d400bd6dde</id>
<content type='text'>
Add acl, noacl and posixacl to option_map, avoiding ENOENT error
case when mount from util-linux-2.24 execs mount.zfs with any of
those flags

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: renelson &lt;bnelson@nelsonbe.com&gt;
Issue #1968
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add acl, noacl and posixacl to option_map, avoiding ENOENT error
case when mount from util-linux-2.24 execs mount.zfs with any of
those flags

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Signed-off-by: renelson &lt;bnelson@nelsonbe.com&gt;
Issue #1968
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle concurrent snapshot automounts failing due to EBUSY.</title>
<updated>2013-11-08T18:45:14+00:00</updated>
<author>
<name>Tim Chase</name>
<email>tim@chase2k.com</email>
</author>
<published>2013-11-07T05:55:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fd4f76160cb34539f875781fe7f2dea4b937ace5'/>
<id>fd4f76160cb34539f875781fe7f2dea4b937ace5</id>
<content type='text'>
In the current snapshot automount implementation, it is possible for
multiple mounts to attempted concurrently.  Only one of the mounts will
succeed and the other will fail.  The failed mounts will cause an EREMOTE
to be propagated back to the application.

This commit works around the problem by adding a new exit status,
MOUNT_BUSY to the mount.zfs program which is used when the underlying
mount(2) call returns EBUSY.  The zfs code detects this condition and
treats it as if the mount had succeeded.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1819
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the current snapshot automount implementation, it is possible for
multiple mounts to attempted concurrently.  Only one of the mounts will
succeed and the other will fail.  The failed mounts will cause an EREMOTE
to be propagated back to the application.

This commit works around the problem by adding a new exit status,
MOUNT_BUSY to the mount.zfs program which is used when the underlying
mount(2) call returns EBUSY.  The zfs code detects this condition and
treats it as if the mount had succeeded.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1819
</pre>
</div>
</content>
</entry>
<entry>
<title>Illumos #3582, #3584</title>
<updated>2013-11-04T18:55:25+00:00</updated>
<author>
<name>Adam Leventhal</name>
<email>ahl@delphix.com</email>
</author>
<published>2013-08-28T23:05:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=63fd3c6cfd264cab94dc186fe8cceecac8bc0d50'/>
<id>63fd3c6cfd264cab94dc186fe8cceecac8bc0d50</id>
<content type='text'>
3582 zfs_delay() should support a variable resolution
3584 DTrace sdt probes for ZFS txg states

Reviewed by: Matthew Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Reviewed by: Christopher Siden &lt;christopher.siden@delphix.com&gt;
Reviewed by: Dan McDonald &lt;danmcd@nexenta.com&gt;
Reviewed by: Richard Elling &lt;richard.elling@dey-sys.com&gt;
Approved by: Garrett D'Amore &lt;garrett@damore.org&gt;

References:
    https://www.illumos.org/issues/3582
    illumos/illumos-gate@0689f76

Ported by: Ned Bass &lt;bass6@llnl.gov&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Issue #1775
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
3582 zfs_delay() should support a variable resolution
3584 DTrace sdt probes for ZFS txg states

Reviewed by: Matthew Ahrens &lt;mahrens@delphix.com&gt;
Reviewed by: George Wilson &lt;george.wilson@delphix.com&gt;
Reviewed by: Christopher Siden &lt;christopher.siden@delphix.com&gt;
Reviewed by: Dan McDonald &lt;danmcd@nexenta.com&gt;
Reviewed by: Richard Elling &lt;richard.elling@dey-sys.com&gt;
Approved by: Garrett D'Amore &lt;garrett@damore.org&gt;

References:
    https://www.illumos.org/issues/3582
    illumos/illumos-gate@0689f76

Ported by: Ned Bass &lt;bass6@llnl.gov&gt;
Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Issue #1775
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Add txgs-&lt;pool&gt; kstat file"</title>
<updated>2013-10-25T20:57:25+00:00</updated>
<author>
<name>Brian Behlendorf</name>
<email>behlendorf1@llnl.gov</email>
</author>
<published>2013-09-30T18:51:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=76463d4026e0fa4b3d7b96acd58cb5fb79c49af7'/>
<id>76463d4026e0fa4b3d7b96acd58cb5fb79c49af7</id>
<content type='text'>
This reverts commit e95853a331529a6cb96fdf10476c53441e59f4e1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit e95853a331529a6cb96fdf10476c53441e59f4e1.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't leak mount flags into kernel</title>
<updated>2013-06-18T22:30:08+00:00</updated>
<author>
<name>Ned Bass</name>
<email>bass6@llnl.gov</email>
</author>
<published>2013-05-14T02:48:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da29fe63f04aab286cfbfadefa12bb58389748c2'/>
<id>da29fe63f04aab286cfbfadefa12bb58389748c2</id>
<content type='text'>
When calling mount(), care must be taken to avoid passing in flags
that are used only by the user space utilities.  Otherwise we may
stomp on flags that are reserved for other purposes in the kernel.

In particular, openSUSE 12.3 kernels have added a new MS_RICHACL
super-block flag whose value conflicts with our MS_COMMENT flag. This
causes incorrect behavior such as the umask being ignored.  The
MS_COMMENT flag essentially serves as a placeholder in the option_map
data structure of zfs_mount.c, but its value is never used. Therefore
we can avoid the conflict by defining it to 0.

The MS_USERS, MS_OWNER, and MS_GROUP flags also conflict with reserved
flags in the kernel. While this is not known to have caused any
problems, it is nevertheless incorrect.  For the purposes of the
mount.zfs helper, the "users", "owner", and "group" options just serve
as hints to set additional implied options.  Therefore we now define
their associated mount flags in terms of the options that they imply
rather than giving them unique values.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1457
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When calling mount(), care must be taken to avoid passing in flags
that are used only by the user space utilities.  Otherwise we may
stomp on flags that are reserved for other purposes in the kernel.

In particular, openSUSE 12.3 kernels have added a new MS_RICHACL
super-block flag whose value conflicts with our MS_COMMENT flag. This
causes incorrect behavior such as the umask being ignored.  The
MS_COMMENT flag essentially serves as a placeholder in the option_map
data structure of zfs_mount.c, but its value is never used. Therefore
we can avoid the conflict by defining it to 0.

The MS_USERS, MS_OWNER, and MS_GROUP flags also conflict with reserved
flags in the kernel. While this is not known to have caused any
problems, it is nevertheless incorrect.  For the purposes of the
mount.zfs helper, the "users", "owner", and "group" options just serve
as hints to set additional implied options.  Therefore we now define
their associated mount flags in terms of the options that they imply
rather than giving them unique values.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1457
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused machelf.h header</title>
<updated>2013-02-05T23:34:50+00:00</updated>
<author>
<name>Brian Behlendorf</name>
<email>behlendorf1@llnl.gov</email>
</author>
<published>2013-02-05T23:07:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=02a946ce10671478e3394180b84f3af4de48c59d'/>
<id>02a946ce10671478e3394180b84f3af4de48c59d</id>
<content type='text'>
The machelf.h header is never included by anything in the zfs
build process.  It is all effectively dead code which can be
safely removed.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1265
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The machelf.h header is never included by anything in the zfs
build process.  It is all effectively dead code which can be
safely removed.

Signed-off-by: Brian Behlendorf &lt;behlendorf1@llnl.gov&gt;
Closes #1265
</pre>
</div>
</content>
</entry>
</feed>
