<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs/proc.c, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-10-07T22:16:22Z</updated>
<entry>
<title>nfs: authenticated deep mounting</title>
<updated>2008-10-07T22:16:22Z</updated>
<author>
<name>EG Keizer</name>
</author>
<published>2008-08-19T20:34:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37ca8f5c6041516aac603a5abb89b05675493802'/>
<id>urn:sha1:37ca8f5c6041516aac603a5abb89b05675493802</id>
<content type='text'>
Allow mount to do authenticated mounts below the root of the exported tree.
The wording in RFC 2623, sec 2.3.2. allows fsinfo with UNIX authentication
on the root of the export. Mounts are not always done on the root
of the exported tree. Especially autoumounts often mount below the root of
the exported tree.
Some server implementations (justly) require full authentication for the
so-called deep mounts. The old code used AUTH_SYS only. This caused deep
mounts to fail on systems requiring stronger authentication..
The client should try both authentication types and use the first one that
succeeds.
This method was already partially implemented. This patch completes
the implementation for NFS2 and NFS3.
This patch was developed to allow Debian systems to automount home directories
on Solaris servers with krb5 authentication.

Tested on kernel 2.6.24-etchnhalf.1

Signed-off-by: E.G. Keizer &lt;keie@few.vu.nl&gt;
Signed-off-by: J. Bruce Fields &lt;bfields@citi.umich.edu&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Remove the redundant file_open entry from struct nfs_rpc_ops</title>
<updated>2008-07-09T16:09:16Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2008-06-11T20:32:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=46cb650c224bb8e64a749090105d74b9e8eda669'/>
<id>urn:sha1:46cb650c224bb8e64a749090105d74b9e8eda669</id>
<content type='text'>
All instances are set to nfs_open(), so we should just remove the redundant
indirection. Ditto for the file_release op

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Fix the ftruncate() credential problem</title>
<updated>2008-07-09T16:09:14Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2008-06-10T23:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=659bfcd6dd88919a5ad453f62afbeffcb3106847'/>
<id>urn:sha1:659bfcd6dd88919a5ad453f62afbeffcb3106847</id>
<content type='text'>
ftruncate() access checking is supposed to be performed at open() time,
just like reads and writes.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Add correct bounds checking to NFSv2 locks</title>
<updated>2008-07-09T16:08:40Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2008-05-20T23:34:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2116271a347d1181b5497602c2bfada1de8fd53b'/>
<id>urn:sha1:2116271a347d1181b5497602c2bfada1de8fd53b</id>
<content type='text'>
NFSv2 file locking currently fails the Connectathon tests, because the
calls to the VFS locking code do not return an EINVAL error if the
struct file_lock overflows the 32-bit boundaries.

The problem is due to the fact that we occasionally call helpers from
fs/locks.c in order to avoid RPC calls to the server when we know that a
local process holds the lock. These helpers are, of course, always
64-bit enabled, so EINVAL is not returned in cases when it would if
the call had gone to the NLM code.

For consistency, we therefore add support for a bounds-checking helper.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>nfs: replace remaining __FUNCTION__ occurrences</title>
<updated>2008-05-16T16:43:29Z</updated>
<author>
<name>Harvey Harrison</name>
</author>
<published>2008-05-02T20:42:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3110ff8048fb757b36112b044b384aea9c44d6e4'/>
<id>urn:sha1:3110ff8048fb757b36112b044b384aea9c44d6e4</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Cc: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;
Cc: "J. Bruce Fields" &lt;bfields@fieldses.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NLM/NFS: Use cached nlm_host when calling nlmclnt_proc()</title>
<updated>2008-01-30T07:06:07Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2008-01-11T22:09:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1093a60ef34bb12010fe7ea4b780bee1c57cfbbe'/>
<id>urn:sha1:1093a60ef34bb12010fe7ea4b780bee1c57cfbbe</id>
<content type='text'>
Now that each NFS mount point caches its own nlm_host structure, it can be
passed to nlmclnt_proc() for each lock request.  By pinning an nlm_host for
each mount point, we trade the overhead of looking up or creating a fresh
nlm_host struct during every NLM procedure call for a little extra memory.

We also restrict the nlmclnt_proc symbol to limit the use of this call to
in-tree modules.

Note that nlm_lookup_host() (just removed from the client's per-request
NLM processing) could also trigger an nlm_host garbage collection.  Now
client-side nlm_host garbage collection occurs only during NFS mount
processing.  Since the NFS client now holds a reference on these nlm_host
structures, they wouldn't have been affected by garbage collection
anyway.

Given that nlm_lookup_host() reorders the global nlm_host chain after
every successful lookup, and that a garbage collection could be triggered
during the call, we've removed a significant amount of per-NLM-request
CPU processing overhead.

Sidebar: there are only a few remaining references to the internals of
NFS inodes in the client-side NLM code.  The only references I found are
related to extracting or comparing the inode's file handle via NFS_FH().
One is in nlmclnt_grant(); the other is in nlmclnt_setlockargs().

Signed-off-by: Chuck Lever &lt;chuck.lever@oracle.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Clean up the (commit|read|write)_setup() callback routines</title>
<updated>2008-01-30T07:05:32Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2007-07-14T19:40:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdc7f021f3a1fade77adf3c2d7f65690566fddfe'/>
<id>urn:sha1:bdc7f021f3a1fade77adf3c2d7f65690566fddfe</id>
<content type='text'>
Move the common code for setting up the nfs_write_data and nfs_read_data
structures into fs/nfs/read.c, fs/nfs/write.c and fs/nfs/direct.c.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFSv2: Ensure that the directory metadata gets revalidated on file create</title>
<updated>2007-10-21T17:37:02Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2007-10-20T17:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bad2a524113075d1e0665f1e111283ab25135ade'/>
<id>urn:sha1:bad2a524113075d1e0665f1e111283ab25135ade</id>
<content type='text'>
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Fake up 'wcc' attributes to prevent cache invalidation after write</title>
<updated>2007-10-09T21:19:15Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2007-09-30T19:21:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=70ca88521fc7bee8ef0fc22033a439d4b9a2c70d'/>
<id>urn:sha1:70ca88521fc7bee8ef0fc22033a439d4b9a2c70d</id>
<content type='text'>
NFSv2 and v4 don't offer weak cache consistency attributes on WRITE calls.
In NFSv3, returning wcc data is optional. In all cases, we want to prevent
the client from invalidating our cached data whenever -&gt;write_done()
attempts to update the inode attributes.

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>NFS: Fix atime revalidation in read()</title>
<updated>2007-10-09T21:19:06Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2007-09-28T21:20:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8850df999cd16aa141098e2e8be04a590276f3cc'/>
<id>urn:sha1:8850df999cd16aa141098e2e8be04a590276f3cc</id>
<content type='text'>
NFSv3 will correctly update atime on a read() call, so there is no need to
set the NFS_INO_INVALID_ATIME flag unless the call to nfs_refresh_inode()
fails.

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