<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/linux/nfs4.h, branch linux-3.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-20T12:04:16Z</updated>
<entry>
<title>nfs: Don't increment lock sequence ID after NFS4ERR_MOVED</title>
<updated>2017-06-20T12:04:16Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2017-01-22T19:04:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=379fa3e80f2a79fcf9f5c7facc43620257491e68'/>
<id>urn:sha1:379fa3e80f2a79fcf9f5c7facc43620257491e68</id>
<content type='text'>
commit 059aa734824165507c65fd30a55ff000afd14983 upstream.

Xuan Qi reports that the Linux NFSv4 client failed to lock a file
that was migrated. The steps he observed on the wire:

1. The client sent a LOCK request to the source server
2. The source server replied NFS4ERR_MOVED
3. The client switched to the destination server
4. The client sent the same LOCK request to the destination
   server with a bumped lock sequence ID
5. The destination server rejected the LOCK request with
   NFS4ERR_BAD_SEQID

RFC 3530 section 8.1.5 provides a list of NFS errors which do not
bump a lock sequence ID.

However, RFC 3530 is now obsoleted by RFC 7530. In RFC 7530 section
9.1.7, this list has been updated by the addition of NFS4ERR_MOVED.

Reported-by: Xuan Qi &lt;xuan.qi@oracle.com&gt;
Signed-off-by: Chuck Lever &lt;chuck.lever@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>nfsd: Handle kuids and kgids in the nfs4acl to posix_acl conversion</title>
<updated>2013-02-13T14:16:06Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2013-02-02T13:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab8e4aee0a3f73d1b12e6d63b42075f0586ad4fd'/>
<id>urn:sha1:ab8e4aee0a3f73d1b12e6d63b42075f0586ad4fd</id>
<content type='text'>
In struct nfs4_ace remove the member who and replace it with an
anonymous union holding who_uid and who_gid.  Allowing typesafe
storage uids and gids.

Add a helper pace_gt for sorting posix_acl_entries.

In struct posix_user_ace_state to replace uid with a union
of kuid_t uid and kgid_t gid.

Remove all initializations of the deprecated posic_acl_entry
e_id field.  Which is not present when user namespaces are enabled.

Split find_uid into two functions find_uid and find_gid that work
in a typesafe manner.

In nfs4xdr update nfsd4_encode_fattr to deal with the changes
in struct nfs4_ace.

Rewrite nfsd4_encode_name to take a kuid_t and a kgid_t instead
of a generic id and flag if it is a group or a uid.  Replace
the group flag with a test for a valid gid.

Modify nfsd4_encode_user to take a kuid_t and call the modifed
nfsd4_encode_name.

Modify nfsd4_encode_group to take a kgid_t and call the modified
nfsd4_encode_name.

Modify nfsd4_encode_aclname to take an ace instead of taking the
fields of an ace broken out.  This allows it to detect if the ace is
for a user or a group and to pass the appropriate value while still
being typesafe.

Cc: "J. Bruce Fields" &lt;bfields@fieldses.org&gt;
Cc: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Signed-off-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
</content>
</entry>
<entry>
<title>UAPI: (Scripted) Disintegrate include/linux</title>
<updated>2012-10-13T09:46:48Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2012-10-13T09:46:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=607ca46e97a1b6594b29647d98a32d545c24bdff'/>
<id>urn:sha1:607ca46e97a1b6594b29647d98a32d545c24bdff</id>
<content type='text'>
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Acked-by: Michael Kerrisk &lt;mtk.manpages@gmail.com&gt;
Acked-by: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt;
Acked-by: Dave Jones &lt;davej@redhat.com&gt;
</content>
</entry>
<entry>
<title>NFSv4.1: Add DESTROY_CLIENTID</title>
<updated>2012-05-26T18:17:30Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2012-05-25T21:18:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=662455391040a783b89d0232e743c27c23617dbd'/>
<id>urn:sha1:662455391040a783b89d0232e743c27c23617dbd</id>
<content type='text'>
Ensure that we destroy our lease on last unmount

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFSv4.1: Move NFSPROC4_CLNT_BIND_CONN_TO_SESSION to the end of the operations</title>
<updated>2012-05-25T22:02:09Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2012-05-25T21:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad24ecfbcddfa88541bccc980e753aeda8bf4031'/>
<id>urn:sha1:ad24ecfbcddfa88541bccc980e753aeda8bf4031</id>
<content type='text'>
For backward compatibility with nfs-utils.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Cc: Weston Andros Adamson &lt;dros@netapp.com&gt;
</content>
</entry>
<entry>
<title>nfs4.1: add BIND_CONN_TO_SESSION operation</title>
<updated>2012-05-24T20:22:19Z</updated>
<author>
<name>Weston Andros Adamson</name>
</author>
<published>2012-05-24T17:22:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7c44f1ae4a21458a1ea3d6482ffb3136f1df6d2b'/>
<id>urn:sha1:7c44f1ae4a21458a1ea3d6482ffb3136f1df6d2b</id>
<content type='text'>
This patch adds the BIND_CONN_TO_SESSION operation which is needed for
upcoming SP4_MACH_CRED work and useful for recovering from broken connections
without destroying the session.

Signed-off-by: Weston Andros Adamson &lt;dros@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFSv4.1 mdsthreshold attribute xdr</title>
<updated>2012-05-24T20:15:47Z</updated>
<author>
<name>Andy Adamson</name>
</author>
<published>2012-05-23T09:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=88034c3d88c2c48b215f2cc5eb22e564aa817f9c'/>
<id>urn:sha1:88034c3d88c2c48b215f2cc5eb22e564aa817f9c</id>
<content type='text'>
We only support one layout type per file system, so one threshold_item4 per
mdsthreshold4.

Signed-off-by: Andy Adamson &lt;andros@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>Merge nfs containerization work from Trond's tree</title>
<updated>2012-03-26T15:48:54Z</updated>
<author>
<name>J. Bruce Fields</name>
</author>
<published>2012-03-21T20:42:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1df00640c9111c881633d9b219f18e66c52599ec'/>
<id>urn:sha1:1df00640c9111c881633d9b219f18e66c52599ec</id>
<content type='text'>
The nfs containerization work is a prerequisite for Jeff Layton's reboot
recovery rework.
</content>
</entry>
<entry>
<title>NFSv4: Simplify the struct nfs4_stateid</title>
<updated>2012-03-06T15:32:47Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2012-03-04T23:13:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d2f24add1ff903ff8e0ce61c5c05635cc636985'/>
<id>urn:sha1:2d2f24add1ff903ff8e0ce61c5c05635cc636985</id>
<content type='text'>
Replace the union with the common struct stateid4 as defined in both
RFC3530 and RFC5661. This makes it easier to access the sequence id,
which will again make implementing support for parallel OPEN calls
easier.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>nfsd41: implement NFS4_SHARE_WANT_NO_DELEG, NFS4_OPEN_DELEGATE_NONE_EXT, why_no_deleg</title>
<updated>2012-02-17T23:38:53Z</updated>
<author>
<name>Benny Halevy</name>
</author>
<published>2012-02-16T18:57:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d24433cdc91c0ed15938d2a6ee9e3e1b00fcfaa3'/>
<id>urn:sha1:d24433cdc91c0ed15938d2a6ee9e3e1b00fcfaa3</id>
<content type='text'>
Respect client request for not getting a delegation in NFSv4.1
Appropriately return delegation "type" NFS4_OPEN_DELEGATE_NONE_EXT
and WND4_NOT_WANTED reason.

[nfsd41: add missing break when encoding op_why_no_deleg]
Signed-off-by: Benny Halevy &lt;bhalevy@tonian.com&gt;
Signed-off-by: J. Bruce Fields &lt;bfields@redhat.com&gt;
</content>
</entry>
</feed>
