<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/lockd/svcproc.c, branch linux-2.6.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2006-10-20T17:26:40Z</updated>
<entry>
<title>[PATCH] lockd endianness annotations</title>
<updated>2006-10-20T17:26:40Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-10-20T06:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=52921e02a4f4163a7b1f4b5dde71e1debc71de4a'/>
<id>urn:sha1:52921e02a4f4163a7b1f4b5dde71e1debc71de4a</id>
<content type='text'>
Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Acked-by: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;
Acked-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix svc_procfunc declaration</title>
<updated>2006-10-20T17:26:40Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-10-20T06:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7111c66e4e70588c9602035a4996c9cdc2087d2d'/>
<id>urn:sha1:7111c66e4e70588c9602035a4996c9cdc2087d2d</id>
<content type='text'>
svc_procfunc instances return __be32, not int

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Acked-by: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;
Acked-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] knfsd: Allow lockd to drop replies as appropriate</title>
<updated>2006-10-17T15:18:46Z</updated>
<author>
<name>NeilBrown</name>
</author>
<published>2006-10-17T07:10:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d343fce148a4eee24a907a05c4101d3268045aae'/>
<id>urn:sha1:d343fce148a4eee24a907a05c4101d3268045aae</id>
<content type='text'>
It is possible for the -&gt;fopen callback from lockd into nfsd to find that an
answer cannot be given straight away (an upcall is needed) and so the request
has to be 'dropped', to be retried later.  That error status is not currently
propagated back.

So:
  Change nlm_fopen to return nlm error codes (rather than a private
  protocol) and define a new nlm_drop_reply code.
  Cause nlm_drop_reply to cause the rpc request to get rpc_drop_reply
  when this error comes back.
  Cause svc_process to drop a request which returns a status of
  rpc_drop_reply.

[akpm@osdl.org: fix warning storm]
Cc: Marc Eshel &lt;eshel@almaden.ibm.com&gt;
Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] knfsd: match GRANTED_RES replies using cookies</title>
<updated>2006-10-04T14:55:18Z</updated>
<author>
<name>Olaf Kirch</name>
</author>
<published>2006-10-04T09:16:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39be4502cb75dc26007fe1659735b26c8e63fcc6'/>
<id>urn:sha1:39be4502cb75dc26007fe1659735b26c8e63fcc6</id>
<content type='text'>
When we send a GRANTED_MSG call, we current copy the NLM cookie provided in
the original LOCK call - because in 1996, some broken clients seemed to rely
on this bug.  However, this means the cookies are not unique, so that when the
client's GRANTED_RES message comes back, we cannot simply match it based on
the cookie, but have to use the client's IP address in addition.  Which breaks
when you have a multi-homed NFS client.

The X/Open spec explicitly mentions that clients should not expect the same
cookie; so one may hope that any clients that were broken in 1996 have either
been fixed or rendered obsolete.

Signed-off-by: Olaf Kirch &lt;okir@suse.de&gt;
Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] knfsd: lockd: Make nlm_host_rebooted use the nsm_handle</title>
<updated>2006-10-04T14:55:17Z</updated>
<author>
<name>Olaf Kirch</name>
</author>
<published>2006-10-04T09:15:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c8dd29ca7fc7483690cef4306549742d534f2a2'/>
<id>urn:sha1:5c8dd29ca7fc7483690cef4306549742d534f2a2</id>
<content type='text'>
This patch makes the SM_NOTIFY handling understand and use the nsm_handle.

To make it a bit clear what is happening:

    nlmclent_prepare_reclaim and nlmclnt_finish_reclaim
    get open-coded into 'reclaimer'

The result is tidied up.

Then some of that functionality is moved out into nlm_host_rebooted (which
calls nlmclnt_recovery which starts a thread which runs reclaimer).

Also host_rebooted now finds an nsm_handle rather than a host, then then
iterates over all hosts and deals with each host that shares that nsm_handle.

Signed-off-by: Olaf Kirch &lt;okir@suse.de&gt;
Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] knfsd: when looking up a lockd host, pass hostname &amp; length</title>
<updated>2006-10-04T14:55:16Z</updated>
<author>
<name>Olaf Kirch</name>
</author>
<published>2006-10-04T09:15:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db4e4c9a9e741ee812e1febf5e386d6a24218a71'/>
<id>urn:sha1:db4e4c9a9e741ee812e1febf5e386d6a24218a71</id>
<content type='text'>
This patch adds the peer's hostname (and name length) to all calls to
nlm*_lookup_host functions.  A subsequent patch will make use of these (is
requested by a sysctl).

Signed-off-by: Olaf Kirch &lt;okir@suse.de&gt;
Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] knfsd: consolidate common code for statd-&gt;lockd notification</title>
<updated>2006-10-04T14:55:16Z</updated>
<author>
<name>Olaf Kirch</name>
</author>
<published>2006-10-04T09:15:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf712c24d72341effcfd28330b83b49f77cb627b'/>
<id>urn:sha1:cf712c24d72341effcfd28330b83b49f77cb627b</id>
<content type='text'>
Common code from nlm4svc_proc_sm_notify and nlmsvc_proc_sm_notify is moved
into a new nlm_host_rebooted.

This is in preparation of a patch that will change the reboot notification
handling entirely.

Signed-off-by: Olaf Kirch &lt;okir@suse.de&gt;
Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] knfsd: hide use of lockd's h_monitored flag</title>
<updated>2006-10-04T14:55:16Z</updated>
<author>
<name>Olaf Kirch</name>
</author>
<published>2006-10-04T09:15:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=977faf392fc898407554bbe7338d57b29e3660cf'/>
<id>urn:sha1:977faf392fc898407554bbe7338d57b29e3660cf</id>
<content type='text'>
This patch moves all checks of the h_monitored flag into the
nsm_monitor/unmonitor functions.  A subsequent patch will replace the
mechanism by which we mark a host as being monitored.

There is still one occurence of h_monitored outside of mon.c and that is in
clntlock.c where we respond to a reboot.  The subsequent patch will modify
this too.

Signed-off-by: Olaf Kirch &lt;okir@suse.de&gt;
Signed-off-by: Neil Brown &lt;neilb@suse.de&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Remove obsolete #include &lt;linux/config.h&gt;</title>
<updated>2006-06-30T17:25:36Z</updated>
<author>
<name>Jörn Engel</name>
</author>
<published>2006-06-30T17:25:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ab3d5624e172c553004ecc862bfeac16d9d68b7'/>
<id>urn:sha1:6ab3d5624e172c553004ecc862bfeac16d9d68b7</id>
<content type='text'>
Signed-off-by: Jörn Engel &lt;joern@wohnheim.fh-wedel.de&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>lockd: Add helper for *_RES callbacks</title>
<updated>2006-03-20T18:44:45Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2006-03-20T18:44:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d47166244860eb5dfdb12ee4703968beef8a0db2'/>
<id>urn:sha1:d47166244860eb5dfdb12ee4703968beef8a0db2</id>
<content type='text'>
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
</feed>
