<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/callback_xdr.c, branch linux-4.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-28T02:26:23Z</updated>
<entry>
<title>NFSv4.1: nfs4_callback_free_slot() cannot call nfs4_slot_tbl_drain_complete()</title>
<updated>2017-06-28T02:26:23Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2017-06-27T21:40:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e31b4cb895ae78db31dffb860cd255d86c6561c'/>
<id>urn:sha1:2e31b4cb895ae78db31dffb860cd255d86c6561c</id>
<content type='text'>
The current code works only for the case where we have exactly one slot,
which is no longer true.
nfs4_free_slot() will automatically declare the callback channel to be
drained when all slots have been returned.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Remove extra dprintk()s from callback_xdr.c</title>
<updated>2017-04-20T17:39:33Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2017-04-07T18:15:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=36718a669e0507d2590af2a3730d58402d1f03f7'/>
<id>urn:sha1:36718a669e0507d2590af2a3730d58402d1f03f7</id>
<content type='text'>
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Clean up encode_cb_sequence_res()</title>
<updated>2017-04-20T17:39:33Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2017-04-07T18:15:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d0bfaa60dead8e47ede8d08c82cdf393214955d'/>
<id>urn:sha1:3d0bfaa60dead8e47ede8d08c82cdf393214955d</id>
<content type='text'>
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Clean up decode_notify_lock_args()</title>
<updated>2017-04-20T17:39:33Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2017-04-07T18:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=535ece2b8e4b0edf9f18be2d103d19f833fa8b7f'/>
<id>urn:sha1:535ece2b8e4b0edf9f18be2d103d19f833fa8b7f</id>
<content type='text'>
Let's cut out the goto and return any errors immedately

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Clean up decode_cb_sequence_args()</title>
<updated>2017-04-20T17:39:33Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2017-04-07T18:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1796549ad48c43dbe40408de39c7afcacbd43f0b'/>
<id>urn:sha1:1796549ad48c43dbe40408de39c7afcacbd43f0b</id>
<content type='text'>
Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Clean up decode_layoutrecall_args()</title>
<updated>2017-04-20T17:39:33Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2017-04-07T18:15:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c79d56d2148d94e8158f242560d0d7253c22b5f5'/>
<id>urn:sha1:c79d56d2148d94e8158f242560d0d7253c22b5f5</id>
<content type='text'>
Additionally, this change lets us cut out the goto by returning errors
immediately.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Clean up decode_recall_args()</title>
<updated>2017-04-20T17:39:32Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2017-04-07T18:14:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=135a4ea0d9b8a3fe538c309e0073c17893e47298'/>
<id>urn:sha1:135a4ea0d9b8a3fe538c309e0073c17893e47298</id>
<content type='text'>
Removing the dprintk() lets us simplify the function by returning status
codes directly, rather than using a goto.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>NFS: Clean up decode_getattr_args()</title>
<updated>2017-04-20T17:39:32Z</updated>
<author>
<name>Anna Schumaker</name>
</author>
<published>2017-04-07T18:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56938bb77a5f2cfa8c5d99029022ed2bbc0aef4a'/>
<id>urn:sha1:56938bb77a5f2cfa8c5d99029022ed2bbc0aef4a</id>
<content type='text'>
Removing the dprintk() lets us return the status value directly, rather
than jumping to a label if an error occurs.

Signed-off-by: Anna Schumaker &lt;Anna.Schumaker@Netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;trond.myklebust@primarydata.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'nfs-for-4.11-1' of git://git.linux-nfs.org/projects/anna/linux-nfs</title>
<updated>2017-03-02T00:10:30Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2017-03-02T00:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f03cf50bc9443e92d6e54ac4d599357d6cb7cbb'/>
<id>urn:sha1:8f03cf50bc9443e92d6e54ac4d599357d6cb7cbb</id>
<content type='text'>
Pull NFS client updates from Anna Schumaker:
 "Highlights include:

  Stable bugfixes:
   - NFSv4: Fix memory and state leak in _nfs4_open_and_get_state
   - xprtrdma: Fix Read chunk padding
   - xprtrdma: Per-connection pad optimization
   - xprtrdma: Disable pad optimization by default
   - xprtrdma: Reduce required number of send SGEs
   - nlm: Ensure callback code also checks that the files match
   - pNFS/flexfiles: If the layout is invalid, it must be updated before
     retrying
   - NFSv4: Fix reboot recovery in copy offload
   - Revert "NFSv4.1: Handle NFS4ERR_BADSESSION/NFS4ERR_DEADSESSION
     replies to OP_SEQUENCE"
   - NFSv4: fix getacl head length estimation
   - NFSv4: fix getacl ERANGE for sum ACL buffer sizes

  Features:
   - Add and use dprintk_cont macros
   - Various cleanups to NFS v4.x to reduce code duplication and
     complexity
   - Remove unused cr_magic related code
   - Improvements to sunrpc "read from buffer" code
   - Clean up sunrpc timeout code and allow changing TCP timeout
     parameters
   - Remove duplicate mw_list management code in xprtrdma
   - Add generic functions for encoding and decoding xdr streams

  Bugfixes:
   - Clean up nfs_show_mountd_netid
   - Make layoutreturn_ops static and use NULL instead of 0 to fix
     sparse warnings
   - Properly handle -ERESTARTSYS in nfs_rename()
   - Check if register_shrinker() failed during rpcauth_init()
   - Properly clean up procfs/pipefs entries
   - Various NFS over RDMA related fixes
   - Silence unititialized variable warning in sunrpc"

* tag 'nfs-for-4.11-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (64 commits)
  NFSv4: fix getacl ERANGE for some ACL buffer sizes
  NFSv4: fix getacl head length estimation
  Revert "NFSv4.1: Handle NFS4ERR_BADSESSION/NFS4ERR_DEADSESSION replies to OP_SEQUENCE"
  NFSv4: Fix reboot recovery in copy offload
  pNFS/flexfiles: If the layout is invalid, it must be updated before retrying
  NFSv4: Clean up owner/group attribute decode
  SUNRPC: Add a helper function xdr_stream_decode_string_dup()
  NFSv4: Remove bogus "struct nfs_client" argument from decode_ace()
  NFSv4: Fix the underestimation of delegation XDR space reservation
  NFSv4: Replace callback string decode function with a generic
  NFSv4: Replace the open coded decode_opaque_inline() with the new generic
  NFSv4: Replace ad-hoc xdr encode/decode helpers with xdr_stream_* generics
  SUNRPC: Add generic helpers for xdr_stream encode/decode
  sunrpc: silence uninitialized variable warning
  nlm: Ensure callback code also checks that the files match
  sunrpc: Allow xprt-&gt;ops-&gt;timer method to sleep
  xprtrdma: Refactor management of mw_list field
  xprtrdma: Handle stale connection rejection
  xprtrdma: Properly recover FRWRs with in-flight FASTREG WRs
  xprtrdma: Shrink send SGEs array
  ...
</content>
</entry>
<entry>
<title>nfs/nfsd/sunrpc: enforce transport requirements for NFSv4</title>
<updated>2017-02-24T22:03:34Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2017-02-24T18:25:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5283b03ee5cd28d516646298bead09b238d92ddc'/>
<id>urn:sha1:5283b03ee5cd28d516646298bead09b238d92ddc</id>
<content type='text'>
NFSv4 requires a transport "that is specified to avoid network
congestion" (RFC 7530, section 3.1, paragraph 2).  In practical terms,
that means that you should not run NFSv4 over UDP. The server has never
enforced that requirement, however.

This patchset fixes this by adding a new flag to the svc_version that
states that it has these transport requirements. With that, we can check
that the transport has XPT_CONG_CTRL set before processing an RPC. If it
doesn't we reject it with RPC_PROG_MISMATCH.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: J. Bruce Fields &lt;bfields@redhat.com&gt;
</content>
</entry>
</feed>
