<feed xmlns='http://www.w3.org/2005/Atom'>
<title>history/include/linux/lockd, branch master</title>
<subtitle>Linux kernel history
</subtitle>
<id>https://git.shady.money/history/atom?h=master</id>
<link rel='self' href='https://git.shady.money/history/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/'/>
<updated>2005-03-10T13:01:08Z</updated>
<entry>
<title>[NLM] fs/lockd/clntproc.c: make 2 functions static</title>
<updated>2005-03-10T13:01:08Z</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@fys.uio.no</email>
</author>
<published>2005-03-10T13:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=a9ed1ac1bd88f64dd111f8cf7e0b0a7142fde03b'/>
<id>urn:sha1:a9ed1ac1bd88f64dd111f8cf7e0b0a7142fde03b</id>
<content type='text'>
 This patch makes two needlessly global functions static.

 Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
 Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NLM: Always use AUTH_UNIX authentication for NLM locking.</title>
<updated>2005-03-10T12:58:00Z</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@fys.uio.no</email>
</author>
<published>2005-03-10T12:58:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=25326faa35335e4c23d44c755e842f3a7a57868e'/>
<id>urn:sha1:25326faa35335e4c23d44c755e842f3a7a57868e</id>
<content type='text'>
 Most existing servers do not implement RPCSEC_GSS for either the lockd or
 statd daemons.

 Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] lockd: remove hardcoded maximum NLM cookie length</title>
<updated>2004-10-20T01:40:45Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@il.fontys.nl</email>
</author>
<published>2004-10-20T01:40:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=fc29938dabf736b88f7f2ae3e18efbb01b1fbcb8'/>
<id>urn:sha1:fc29938dabf736b88f7f2ae3e18efbb01b1fbcb8</id>
<content type='text'>
At the moment, the NLM cookie length is fixed to 8 bytes, while 1024 is the
theoretical maximum.  FreeBSD uses 16 bytes, Mac OS X uses 20 bytes. 
Therefore we need to make the length dynamic (which I set to 32 bytes).

This patch is based on an old patch for Linux 2.4.23-pre9, which I changed
to patch properly (also added some stylish NIPQUAD fixes).

From: Neil Brown &lt;neilb@cse.unsw.edu.au&gt;

Further lockd tidyups.
  - NIPQUAD everywhere that is appropriate
  - use XDR_QUADLEN in more places as appropriate
  - discard QUADLEN which is a lockd-specific version of XDR_QUADLEN

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&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 posix file locking (5/9)</title>
<updated>2004-08-23T07:13:51Z</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@fys.uio.no</email>
</author>
<published>2004-08-23T07:13:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=ab77ca160c7b1f87c30cf54a2cbcbb7dc5da8eea'/>
<id>urn:sha1:ab77ca160c7b1f87c30cf54a2cbcbb7dc5da8eea</id>
<content type='text'>
NLM: file_lock-&gt;fl_owner may live for longer than the pid of the
   original process that created it. Fix NFSv2/v3 client locking code
   to map file_lock-&gt;fl_owner into a unique 32-bit number or
   "pseudo-pid".

Signed-off-by: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Fix posix file locking (4/9)</title>
<updated>2004-08-23T07:13:40Z</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@fys.uio.no</email>
</author>
<published>2004-08-23T07:13:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=7a25aba8f51266c4c8dbacb533530ea90a3a5d12'/>
<id>urn:sha1:7a25aba8f51266c4c8dbacb533530ea90a3a5d12</id>
<content type='text'>
NLM: fix lockd to use the new posix locking callbacks.

Signed-off-by: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kNFSd: get rid of open_private_file</title>
<updated>2004-08-23T06:02:07Z</updated>
<author>
<name>Neil Brown</name>
<email>neilb@cse.unsw.edu.au</email>
</author>
<published>2004-08-23T06:02:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=2b9b6f10f252c095dd047c26a3bdec599588d42a'/>
<id>urn:sha1:2b9b6f10f252c095dd047c26a3bdec599588d42a</id>
<content type='text'>
This is only used by nfsd to save one kmalloc, and the code is not always
kept up-to-date with dentry_open, so just get rid of it.

Signed-off-by: Neil Brown &lt;neilb@cse.unsw.edu.au&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>NFSv2/v3 locking: Patch by Patrice Dumas to ensure that the server index blocks uniquely</title>
<updated>2004-03-13T16:51:10Z</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@fys.uio.no</email>
</author>
<published>2004-03-13T16:51:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=a9034ac924c7bc600814199991e558e1676bfee6'/>
<id>urn:sha1:a9034ac924c7bc600814199991e558e1676bfee6</id>
<content type='text'>
    by using the client address in addition to the value of the NLM cookie field.
</content>
</entry>
<entry>
<title>NFSv2/v3 locking: Patch by Patrice Dumas to implement nlmsvc_proc_granted_res.</title>
<updated>2004-03-13T16:48:42Z</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@fys.uio.no</email>
</author>
<published>2004-03-13T16:48:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=f89041f27bc4e4aaa89eb4c1c28b8ed5b0a242be'/>
<id>urn:sha1:f89041f27bc4e4aaa89eb4c1c28b8ed5b0a242be</id>
<content type='text'>
    When a server receives that callback it should deallocate the corresponding blocked
    lock using the nlmsvc_grant_reply function.
</content>
</entry>
<entry>
<title>NFSv2/v3/v4: Parenthesize #defines in nfs?xdr.c. Fix an off-by-one error on the value</title>
<updated>2004-03-13T16:47:36Z</updated>
<author>
<name>Trond Myklebust</name>
<email>trond.myklebust@fys.uio.no</email>
</author>
<published>2004-03-13T16:47:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=d2ac640a44710081a4945f858894a190824343d3'/>
<id>urn:sha1:d2ac640a44710081a4945f858894a190824343d3</id>
<content type='text'>
     of compound_decode_hdr_maxsz.
NFSv4: fix a printk() typo (spotted by Linda Dunaphant).
NFSv4: Ensure that nfs4_open_reclaim() copies the value of the new stateid back into
     the shared nfsv4 state structure.
NFSv4: Don't leak NFS4ERR_WRONGSEC errors back into nfs_lookup().
RPC,NFS,Lockd: Mark the debugging code as "unlikely" so that gcc moves it out of the
     mainline code paths.
</content>
</entry>
<entry>
<title>[PATCH] make NFS lockd port numbers assignable at run time</title>
<updated>2003-08-17T10:56:06Z</updated>
<author>
<name>Jamie Lokier</name>
<email>jamie@shareable.org</email>
</author>
<published>2003-08-17T10:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/history/commit/?id=3fd4a6458b91de92ce50d3b63146663c9200a074'/>
<id>urn:sha1:3fd4a6458b91de92ce50d3b63146663c9200a074</id>
<content type='text'>
When writing firewall rules, and you are serving NFS, it's really
useful to know the port numbers of the various NFS services.  nfsd has
a standard value; mountd and statd are userspace daemons, and those
ports are settable on the command line.

The fiddly one is lockd.  nlm_udpport and nlm_tcpport can be set on
the kernel command line or at module load time, but after that it's a
bit awkward (particularly as the lockd module can't be unloaded safely
- "rmmod -f lockd" sometimes panics).

This patch allows the port numbers and the other lockd parameters to
be set through files in /proc/sys/fs/nfs/nlm_*.  The port numbers take
effect when lockd is next started or restarted.

In order to install the sysctl table even when compiled into the
kernel, it was necessary to update the initialisation code to the
current methods, using module_init() et al.  This patch does that and
in so doing updates the module/kernel parameters to use the 2.6
module_param() method, as well as making the numeric range changes
consistent between the two.
</content>
</entry>
</feed>
