<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/client.c, branch linux-5.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-02-16T11:58:10Z</updated>
<entry>
<title>NFSv4.1 query for fs_location attr on a new file system</title>
<updated>2022-02-16T11:58:10Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2022-01-12T15:27:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc61c7bc31a46d08a96fa668e65be9731528635f'/>
<id>urn:sha1:cc61c7bc31a46d08a96fa668e65be9731528635f</id>
<content type='text'>
[ Upstream commit 1976b2b31462151403c9fc110204fcc2a77bdfd1 ]

Query the server for other possible trunkable locations for a given
file system on a 4.1+ mount.

v2:
-- added missing static to nfs4_discover_trunking,
reported by the kernel test robot

Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>NFS: Fix initialisation of nfs_client cl_flags field</title>
<updated>2022-02-16T11:58:08Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2022-02-02T23:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69ce87d6fb9b3863a3091f6f2929db78a1bf6064'/>
<id>urn:sha1:69ce87d6fb9b3863a3091f6f2929db78a1bf6064</id>
<content type='text'>
commit 468d126dab45718feeb728319be20bd869a5eaa7 upstream.

For some long forgotten reason, the nfs_client cl_flags field is
initialised in nfs_get_client() instead of being initialised at
allocation time. This quirk was harmless until we moved the call to
nfs_create_rpc_client().

Fixes: dd99e9f98fbf ("NFSv4: Initialise connection to the server in nfs4_alloc_client()")
Cc: stable@vger.kernel.org # 4.8.x
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NFS: Remove the nfs4_label from the nfs4_getattr_res</title>
<updated>2021-11-05T18:54:39Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2021-10-22T17:11:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ef61e0eaa333e4e9c348c41a4b7abfb34b8736d'/>
<id>urn:sha1:2ef61e0eaa333e4e9c348c41a4b7abfb34b8736d</id>
<content type='text'>
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>NFS: Unexport nfs_probe_fsinfo()</title>
<updated>2021-10-20T22:09:55Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2021-10-14T17:55:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5fe1210d259542f966bab130830ece08e97f68f5'/>
<id>urn:sha1:5fe1210d259542f966bab130830ece08e97f68f5</id>
<content type='text'>
All the callers are now in client.c so we can remove the
EXPORT_SYMBOL_GPL() and make it static.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>NFS: Replace calls to nfs_probe_fsinfo() with nfs_probe_server()</title>
<updated>2021-10-20T22:09:54Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2021-10-14T17:55:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d4cf8d2d6ccb43c68bc5925dc83500b81b50f9e'/>
<id>urn:sha1:4d4cf8d2d6ccb43c68bc5925dc83500b81b50f9e</id>
<content type='text'>
Clean up. There are a few places where we want to probe the server, but
don't actually care about the fsinfo result. Change these to use
nfs_probe_server(), which handles the fattr allocation for us.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>NFS: Move nfs_probe_destination() into the generic client</title>
<updated>2021-10-20T22:09:54Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2021-10-14T17:55:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e5731131fb6fefaa69064ca511b7c4971d6cf54f'/>
<id>urn:sha1:e5731131fb6fefaa69064ca511b7c4971d6cf54f</id>
<content type='text'>
And rename it to nfs_probe_server(). I also change it to take the nfs_fh
as an argument so callers can choose what filehandle to probe.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>SUNRPC enforce creation of no more than max_connect xprts</title>
<updated>2021-08-27T20:37:29Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2021-08-27T18:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc48e0abee245e2f0361bd8d4e3b00f70450fab2'/>
<id>urn:sha1:dc48e0abee245e2f0361bd8d4e3b00f70450fab2</id>
<content type='text'>
If we are adding new transports via rpc_clnt_test_and_add_xprt()
then check if we've reached the limit. Currently only pnfs path
adds transports via that function but this is done in
preparation when the client would add new transports when
session trunking is detected. A warning is logged if the
limit is reached.

Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
</content>
</entry>
<entry>
<title>NFSv4 introduce max_connect mount options</title>
<updated>2021-08-27T20:37:17Z</updated>
<author>
<name>Olga Kornievskaia</name>
</author>
<published>2021-08-27T18:37:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e134205f62955369619021a695cd78fefd32451'/>
<id>urn:sha1:7e134205f62955369619021a695cd78fefd32451</id>
<content type='text'>
This option will control up to how many xprts can the client
establish to the server with a distinct address (that means
nconnect connections are not counted towards this new limit).
This patch is setting up nfs structures to keeep track of the
max_connect limit (does not enforce it).

The default value is kept at 1 so that no current mounts that
don't want any additional connections would be effected. The
maximum value is set at 16.

Mounts to DS are not limited to default value of 1 but instead
set to the maximum default value of 16 (NFS_MAX_TRANSPORTS).

Signed-off-by: Olga Kornievskaia &lt;kolga@netapp.com&gt;
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Fix a potential NULL dereference in nfs_get_client()</title>
<updated>2021-06-03T14:14:42Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2021-06-03T12:37:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09226e8303beeec10f2ff844d2e46d1371dc58e0'/>
<id>urn:sha1:09226e8303beeec10f2ff844d2e46d1371dc58e0</id>
<content type='text'>
None of the callers are expecting NULL returns from nfs_get_client() so
this code will lead to an Oops.  It's better to return an error
pointer.  I expect that this is dead code so hopefully no one is
affected.

Fixes: 31434f496abb ("nfs: check hostname in nfs_get_client")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
<entry>
<title>NFS: Split attribute support out from the server capabilities</title>
<updated>2021-04-14T13:36:29Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2018-03-05T20:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce62b114bbad9346641d16853c528ba01513e1b0'/>
<id>urn:sha1:ce62b114bbad9346641d16853c528ba01513e1b0</id>
<content type='text'>
There are lots of attributes, and they are crowding out the bit space.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@hammerspace.com&gt;
</content>
</entry>
</feed>
