<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nfs-utils.git/utils/mountd, branch fixrootccache</title>
<subtitle>NFS utils related patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/'/>
<entry>
<title>nfs-utils: Restore ABI compat with pre-merge libnfsidmap</title>
<updated>2017-11-07T14:28:25+00:00</updated>
<author>
<name>Justin Mitchell</name>
<email>jumitche@redhat.com</email>
</author>
<published>2017-11-07T14:28:25+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=8d9bf479441d9d7a44a86b69026a7e9d431d3ade'/>
<id>8d9bf479441d9d7a44a86b69026a7e9d431d3ade</id>
<content type='text'>
Prior to merge libnfsidmap leaked many private symbols that were
not defined in its API, creating an accidental ABI.
This patch renames and unhides symbols in order to match that ABI
until a cleaned up API can be established and released.

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to merge libnfsidmap leaked many private symbols that were
not defined in its API, creating an accidental ABI.
This patch renames and unhides symbols in order to match that ABI
until a cleaned up API can be established and released.

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nfs-utils: split conffile to a separate convenience lib</title>
<updated>2017-10-26T12:50:08+00:00</updated>
<author>
<name>Justin Mitchell</name>
<email>jumitche@redhat.com</email>
</author>
<published>2017-09-28T18:18:35+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=745287cca2fad6dfe63290bb8053ffe86637c18b'/>
<id>745287cca2fad6dfe63290bb8053ffe86637c18b</id>
<content type='text'>
To allow better reuse of the code we split conffile and xlog
into their own separate convenience library, then merge it
back so as to not create extra dependancies for everything

Signed-off-by: Justin Mitchell &lt;jumitche@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To allow better reuse of the code we split conffile and xlog
into their own separate convenience library, then merge it
back so as to not create extra dependancies for everything

Signed-off-by: Justin Mitchell &lt;jumitche@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cache.c: removed a couple warning</title>
<updated>2017-07-26T15:27:23+00:00</updated>
<author>
<name>Steve Dickson</name>
<email>steved@redhat.com</email>
</author>
<published>2017-07-19T20:04:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=8d53eb0690e1aaa2cf05fbc4c9fef42634e0b5f1'/>
<id>8d53eb0690e1aaa2cf05fbc4c9fef42634e0b5f1</id>
<content type='text'>
cache.c:623:13: warning: In the GNU C Library, "major" is defined
 by &lt;sys/sysmacros.h&gt;. For historical compatibility, it is
 currently defined by &lt;sys/types.h&gt; as well, but we plan to
 remove this soon. To use "major", include &lt;sys/sysmacros.h&gt;
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including &lt;sys/types.h&gt;.
   if (parsed-&gt;major != major(stb.st_dev) ||
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cache.c:624:13: warning: In the GNU C Library, "minor" is defined
 by &lt;sys/sysmacros.h&gt;. For historical compatibility, it is
 currently defined by &lt;sys/types.h&gt; as well, but we plan to
 remove this soon. To use "minor", include &lt;sys/sysmacros.h&gt;
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including &lt;sys/types.h&gt;.
       parsed-&gt;minor != minor(stb.st_dev))
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cache.c:623:13: warning: In the GNU C Library, "major" is defined
 by &lt;sys/sysmacros.h&gt;. For historical compatibility, it is
 currently defined by &lt;sys/types.h&gt; as well, but we plan to
 remove this soon. To use "major", include &lt;sys/sysmacros.h&gt;
 directly. If you did not intend to use a system-defined macro
 "major", you should undefine it after including &lt;sys/types.h&gt;.
   if (parsed-&gt;major != major(stb.st_dev) ||
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cache.c:624:13: warning: In the GNU C Library, "minor" is defined
 by &lt;sys/sysmacros.h&gt;. For historical compatibility, it is
 currently defined by &lt;sys/types.h&gt; as well, but we plan to
 remove this soon. To use "minor", include &lt;sys/sysmacros.h&gt;
 directly. If you did not intend to use a system-defined macro
 "minor", you should undefine it after including &lt;sys/types.h&gt;.
       parsed-&gt;minor != minor(stb.st_dev))
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>config: Remove the conf_path global</title>
<updated>2017-05-05T15:04:19+00:00</updated>
<author>
<name>Justin Mitchell</name>
<email>jumitche@rehat.com</email>
</author>
<published>2017-05-05T15:03:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=7b33590fee9515e49cda460285acc5d347a800b5'/>
<id>7b33590fee9515e49cda460285acc5d347a800b5</id>
<content type='text'>
Working towards an nfs.conf library and API for system config tools,
first step, replace the conf_path global with a parameter to conf_init

Signed-off-by: Justin Mitchell &lt;jumitche@rehat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Working towards an nfs.conf library and API for system config tools,
first step, replace the conf_path global with a parameter to conf_init

Signed-off-by: Justin Mitchell &lt;jumitche@rehat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountd/exportfs: implement the -s/--state-directory-path option</title>
<updated>2017-02-15T15:41:59+00:00</updated>
<author>
<name>Scott Mayhew</name>
<email>smayhew@redhat.com</email>
</author>
<published>2017-02-15T15:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=a15bd948606bf4816bf819c0b0c75761f3eb6359'/>
<id>a15bd948606bf4816bf819c0b0c75761f3eb6359</id>
<content type='text'>
Reviewed-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Scott Mayhew &lt;smayhew@redhat.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mountd: delay reading etab until first request arrives.</title>
<updated>2017-01-04T15:07:33+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2017-01-04T14:00:38+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=8e98eed42b64aa388c09716e3276a53028a839bf'/>
<id>8e98eed42b64aa388c09716e3276a53028a839bf</id>
<content type='text'>
Reading etab may require hostname lookup, so it is not reliable
until the network is active.
But we want mountd to start before that so that it is ready
when the very first NFS request arrives.
So delay reading etab until that request arrives, by which time
the network must be online so hopefully hostname look will be reliable.

An alternate would be to delay starting mountd and nfsd until the
network is on-line, but that will often be an unnecessary delay.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reading etab may require hostname lookup, so it is not reliable
until the network is active.
But we want mountd to start before that so that it is ready
when the very first NFS request arrives.
So delay reading etab until that request arrives, by which time
the network must be online so hopefully hostname look will be reliable.

An alternate would be to delay starting mountd and nfsd until the
network is on-line, but that will often be an unnecessary delay.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>xlog: Add common support for "debug=??" in /etc/nfs.conf</title>
<updated>2016-12-20T18:29:04+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2016-12-17T17:43:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=9f3c4c2e39928741c1a832fc2c7f2493507ced4c'/>
<id>9f3c4c2e39928741c1a832fc2c7f2493507ced4c</id>
<content type='text'>
The value is from the list general, call, auth, parse, all.
Most daemons recognise this in their dedicated section.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The value is from the list general, call, auth, parse, all.
Most daemons recognise this in their dedicated section.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add /etc/nfs.conf support for mountd.</title>
<updated>2016-12-20T18:29:04+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2016-12-06T17:57:19+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=36b268c6f3bc807ecf4f59ff64eea663146fba4b'/>
<id>36b268c6f3bc807ecf4f59ff64eea663146fba4b</id>
<content type='text'>
Some values are taken from the [nfsd] section
to ensure consistency.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some values are taken from the [nfsd] section
to ensure consistency.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove error messages on xstrdup failure.</title>
<updated>2016-12-06T16:27:21+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2016-12-06T16:27:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=29aced680a423e6d97cab4faaae81c3e77eb5fc3'/>
<id>29aced680a423e6d97cab4faaae81c3e77eb5fc3</id>
<content type='text'>
xstrdup() prints a messages and exits, except in statd where
is prints a message and fails.  So there is no point printing
an extra message when xstrdup() fails, and except in statd,
no point calling exit() as well.

So remove some pointless code.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
xstrdup() prints a messages and exits, except in statd where
is prints a message and fails.  So there is no point printing
an extra message when xstrdup() fails, and except in statd,
no point calling exit() as well.

So remove some pointless code.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove all use of the nfsctl system call.</title>
<updated>2016-12-06T16:15:37+00:00</updated>
<author>
<name>NeilBrown</name>
<email>neilb@suse.com</email>
</author>
<published>2016-12-06T16:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/nfs-utils.git/commit/?id=fc1127d754578cd1dc3b52aebce1d5ae09f2d347'/>
<id>fc1127d754578cd1dc3b52aebce1d5ae09f2d347</id>
<content type='text'>
This systemcall was deprecated early in the 2.6 series
as it was replaced by an in-kernel cache which was refilled
using an upcall.  All communication to kernel is now through
the nfsd filesystem.

The nfsctl systemcall itself was removed in 3.1.

It is unlikely to have been used for over a decade.

To remove all uses for the nfsctl systemcall, and call code that only
runs when "new_cache" is false.  We now assume "new_cache" is always
true.

This allows the removal of several files as well as assorted functions.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This systemcall was deprecated early in the 2.6 series
as it was replaced by an in-kernel cache which was refilled
using an upcall.  All communication to kernel is now through
the nfsd filesystem.

The nfsctl systemcall itself was removed in 3.1.

It is unlikely to have been used for over a decade.

To remove all uses for the nfsctl systemcall, and call code that only
runs when "new_cache" is false.  We now assume "new_cache" is always
true.

This allows the removal of several files as well as assorted functions.

Signed-off-by: NeilBrown &lt;neilb@suse.com&gt;
Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
