<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/callback_xdr.c, branch linux-3.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-04-02T17:32:10Z</updated>
<entry>
<title>NFSv4: Rate limit the state manager warning messages</title>
<updated>2012-04-02T17:32:10Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2012-03-12T22:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8fbfe8809d64f3d3aabbaabe85c8571b754b9bd'/>
<id>urn:sha1:f8fbfe8809d64f3d3aabbaabe85c8571b754b9bd</id>
<content type='text'>
commit 9a3ba432330e504ac61ff0043dbdaba7cea0e35a upstream.

Prevent the state manager from filling up system logs when recovery
fails on the server.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>nfs: check for integer overflow in decode_devicenotify_args()</title>
<updated>2012-01-12T21:30:07Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2012-01-12T07:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=363e0df057ea8da539645fe4c3c227e3d44054cc'/>
<id>urn:sha1:363e0df057ea8da539645fe4c3c227e3d44054cc</id>
<content type='text'>
On 32 bit, if n is too large then "n * sizeof(*args-&gt;devs)" could
overflow and args-&gt;devs would be smaller than expected.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>nfs: set vs_hidden on nfs4_callback_version4 (try #2)</title>
<updated>2011-11-04T13:00:09Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2011-11-04T11:04:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6070295efc90d1093b2031c43380bd7d9673c802'/>
<id>urn:sha1:6070295efc90d1093b2031c43380bd7d9673c802</id>
<content type='text'>
This service should not be registered with or unregistered from rpcbind.

Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS4: fix cb_recallany decode error</title>
<updated>2011-10-31T15:51:28Z</updated>
<author>
<name>Peng Tao</name>
</author>
<published>2011-10-24T03:22:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d743c3c9c236cc61403a4f7d6283d59ddf68b2bd'/>
<id>urn:sha1:d743c3c9c236cc61403a4f7d6283d59ddf68b2bd</id>
<content type='text'>
craa_type_mask is bitmap4 per RFC5661. We need to expect a length before
extracting bitmap value.

Cc: Alexandros Batsakis &lt;batsakis@netapp.com&gt;
Signed-off-by: Peng Tao &lt;peng_tao@emc.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFSv4.1: Fix the callback 'highest_used_slotid' behaviour</title>
<updated>2011-08-04T15:55:35Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2011-08-02T18:46:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55a673990ec04cf63005318bcf08c2b0046e5778'/>
<id>urn:sha1:55a673990ec04cf63005318bcf08c2b0046e5778</id>
<content type='text'>
Currently, there is no guarantee that we will call nfs4_cb_take_slot() even
though nfs4_callback_compound() will consistently call
nfs4_cb_free_slot() provided the cb_process_state has set the 'clp' field.
The result is that we can trigger the BUG_ON() upon the next call to
nfs4_cb_take_slot().

This patch fixes the above problem by using the slot id that was taken in
the CB_SEQUENCE operation as a flag for whether or not we need to call
nfs4_cb_free_slot().
It also fixes an atomicity problem: we need to set tbl-&gt;highest_used_slotid
atomically with the check for NFS4_SESSION_DRAINING, otherwise we end up
racing with the various tests in nfs4_begin_drain_session().

Cc: stable@kernel.org [2.6.38+]
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>pnfs: CB_NOTIFY_DEVICEID</title>
<updated>2011-05-29T17:52:31Z</updated>
<author>
<name>Marc Eshel</name>
</author>
<published>2011-05-22T16:47:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1be5683b03a766670b3b629bf6bfeab3ca9239d8'/>
<id>urn:sha1:1be5683b03a766670b3b629bf6bfeab3ca9239d8</id>
<content type='text'>
Note: This functionlaity is incomplete as all layout segments referring to
the 'to be removed device id' need to be reaped, and all in flight I/O drained.

[use be32 res in nfs4_callback_devicenotify]
[use nfs_client to qualify deviceid for cb_notify_deviceid]
[use global deviceid cache for CB_NOTIFY_DEVICEID]
[refactor device cache _lookup_deviceid]
[refactor device cache _find_get_deviceid]
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
[Bug in new global-device-cache code]
[layout_driver MUST set free_deviceid_node if using dev-cache]
Signed-off-by: Boaz Harrosh &lt;bharrosh@panasas.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>NFS do not find client in NFSv4 pg_authenticate</title>
<updated>2011-01-25T20:26:51Z</updated>
<author>
<name>Andy Adamson</name>
</author>
<published>2011-01-25T15:38:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=778be232a207e79088ba70d832ac25dfea6fbf1a'/>
<id>urn:sha1:778be232a207e79088ba70d832ac25dfea6fbf1a</id>
<content type='text'>
The information required to find the nfs_client cooresponding to the incoming
back channel request is contained in the NFS layer. Perform minimal checking
in the RPC layer pg_authenticate method, and push more detailed checking into
the NFS layer where the nfs_client can be found.

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>pnfs: CB_LAYOUTRECALL xdr code</title>
<updated>2011-01-06T19:46:32Z</updated>
<author>
<name>Fred Isaman</name>
</author>
<published>2011-01-06T11:36:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f2a625616045fe46e1d5fceebdd825f5acdecdb7'/>
<id>urn:sha1:f2a625616045fe46e1d5fceebdd825f5acdecdb7</id>
<content type='text'>
This is the xdr decoding for CB_LAYOUTRECALL.

Signed-off-by: Alexandros Batsakis &lt;batsakis@netapp.com&gt;
Signed-off-by: Dean Hildebrand &lt;dhildeb@us.ibm.com&gt;
Signed-off-by: Marc Eshel &lt;eshel@almaden.ibm.com&gt;
Signed-off-by: Andy Adamson &lt;andros@netapp.com&gt;
Signed-off-by: Benny Halevy &lt;bhalevy@panasas.com&gt;
Signed-off-by: Fred Isaman &lt;iisaman@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS add session back channel draining</title>
<updated>2011-01-06T19:46:25Z</updated>
<author>
<name>Andy Adamson</name>
</author>
<published>2011-01-06T02:04:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42acd021824578fa0eeb6eb58d457c23ec5dc9c0'/>
<id>urn:sha1:42acd021824578fa0eeb6eb58d457c23ec5dc9c0</id>
<content type='text'>
Currently session draining only drains the fore channel.
The back channel processing must also be drained.

Use the back channel highest_slot_used to indicate that a callback is being
processed by the callback thread.  Move the session complete to be per channel.

When the session is draininig, wait for any current back channel processing
to complete and stop all new back channel processing by returning NFS4ERR_DELAY
to the back channel client.

Drain the back channel, then the fore channel.

Signed-off-by: Andy Adamson &lt;andros@netapp.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
</feed>
