<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/nfs, branch linux-2.6.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2005-08-20T01:44:56Z</updated>
<entry>
<title>[PATCH] NFSv4: unbalanced BKL in nfs_atomic_lookup()</title>
<updated>2005-08-20T01:44:56Z</updated>
<author>
<name>Steve Dickson</name>
</author>
<published>2005-08-20T00:57:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=01c314a0c0f6367960a7cb1ffb5796560ccaa1c1'/>
<id>urn:sha1:01c314a0c0f6367960a7cb1ffb5796560ccaa1c1</id>
<content type='text'>
Added missing unlock_kernel() to NFSv4 atomic lookup.

Signed-off-by: Steve Dickson &lt;steved@redhat.com&gt;
Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&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>Fix nasty ncpfs symlink handling bug.</title>
<updated>2005-08-20T01:02:56Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2005-08-20T01:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cc314eef0128a807e50fa03baf2d0abc0647952c'/>
<id>urn:sha1:cc314eef0128a807e50fa03baf2d0abc0647952c</id>
<content type='text'>
This bug could cause oopses and page state corruption, because ncpfs
used the generic page-cache symlink handlign functions.  But those
functions only work if the page cache is guaranteed to be "stable", ie a
page that was installed when the symlink walk was started has to still
be installed in the page cache at the end of the walk.

We could have fixed ncpfs to not use the generic helper routines, but it
is in many ways much cleaner to instead improve on the symlink walking
helper routines so that they don't require that absolute stability.

We do this by allowing "follow_link()" to return a error-pointer as a
cookie, which is fed back to the cleanup "put_link()" routine.  This
also simplifies NFS symlink handling.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] NFS: Introduce the use of inode-&gt;i_lock to protect fields in nfsi</title>
<updated>2005-08-18T19:53:57Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2005-08-18T18:24:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc59250c6ebed099a9bc0a11298e2281dd896657'/>
<id>urn:sha1:dc59250c6ebed099a9bc0a11298e2281dd896657</id>
<content type='text'>
Down the road we want to eliminate the use of the global kernel lock entirely
from the NFS client.  To do this, we need to protect the fields in the
nfs_inode structure adequately.  Start by serializing updates to the
"cache_validity" field.

Note this change addresses an SMP hang found by njw@osdl.org, where processes
deadlock because nfs_end_data_update and nfs_revalidate_mapping update the
"cache_validity" field without proper serialization.

Test plan:
 Millions of fsx ops on SMP clients.  Run Nick Wilson's breaknfs program on
 large SMP clients.

Signed-off-by: Chuck Lever &lt;cel@netapp.com&gt;
Cc: Trond Myklebust &lt;trond.myklebust@fys.uio.no&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] NFS: use atomic bitops to manipulate flags in nfsi-&gt;flags</title>
<updated>2005-08-18T19:53:56Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2005-08-18T18:24:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=412d582ec1dd59aab2353f8cb7e74f2c79cd20b9'/>
<id>urn:sha1:412d582ec1dd59aab2353f8cb7e74f2c79cd20b9</id>
<content type='text'>
Introduce atomic bitops to manipulate the bits in the nfs_inode structure's
"flags" field.

Using bitops means we can use a generic wait_on_bit call instead of an ad hoc
locking scheme in fs/nfs/inode.c, so we can remove the "nfs_i_wait" field from
nfs_inode at the same time.

The other new flags field will continue to use bitmask and logic AND and OR.
This permits several flags to be set at the same time efficiently.  The
following patch adds a spin lock to protect these flags, and this spin lock
will later cover other fields in the nfs_inode structure, amortizing the cost
of using this type of serialization.

Test plan:
 Millions of fsx ops on SMP clients.

Signed-off-by: Chuck Lever &lt;cel@netapp.com&gt;
Cc: Trond Myklebust &lt;trond.myklebust@fys.uio.no&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] NFS: split nfsi-&gt;flags into two fields</title>
<updated>2005-08-18T19:53:56Z</updated>
<author>
<name>Chuck Lever</name>
</author>
<published>2005-08-18T18:24:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5529680981807b44abf3be30fb6d612ff04f68ff'/>
<id>urn:sha1:5529680981807b44abf3be30fb6d612ff04f68ff</id>
<content type='text'>
Certain bits in nfsi-&gt;flags can be manipulated with atomic bitops, and some
are better manipulated via logical bitmask operations.

This patch splits the flags field into two.  The next patch introduces atomic
bitops for one of the fields.

Test plan:
 Millions of fsx ops on SMP clients.

Signed-off-by: Chuck Lever &lt;cel@netapp.com&gt;
Cc: Trond Myklebust &lt;trond.myklebust@fys.uio.no&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] NFS: Ensure we always update inode-&gt;i_mode when doing O_EXCL creates</title>
<updated>2005-08-16T16:30:58Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2005-08-16T15:49:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=65e4308d2500e7daf60c3dccc202c61ffb066c63'/>
<id>urn:sha1:65e4308d2500e7daf60c3dccc202c61ffb066c63</id>
<content type='text'>
When the client performs an exclusive create and opens the file for writing,
a Netapp filer will first create the file using the mode 01777. It does this
since an NFSv3/v4 exclusive create cannot immediately set the mode bits.
The 01777 mode then gets put into the inode-&gt;i_mode. After the file creation
is successful, we then do a setattr to change the mode to the correct value
(as per the NFS spec).

The problem is that nfs_refresh_inode() no longer updates inode-&gt;i_mode, so
the latter retains the 01777 mode. A bit later, the VFS notices this, and calls
remove_suid(). This of course now resets the file mode to inode-&gt;i_mode &amp; 0777.
Hey presto, the file mode on the server is now magically changed to 0777. Duh...

Fixes http://bugzilla.linux-nfs.org/show_bug.cgi?id=32

Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] really remove xattr_acl.h</title>
<updated>2005-06-29T04:20:31Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2005-06-29T03:44:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=334a13ec3d01a1a4b4f2249735b793105cb4a519'/>
<id>urn:sha1:334a13ec3d01a1a4b4f2249735b793105cb4a519</id>
<content type='text'>
Looks like it sneaked back with the NFS ACL merge..

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Cc: Trond Myklebust &lt;trond.myklebust@fys.uio.no&gt;
Cc: 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] Remove f_error field from struct file</title>
<updated>2005-06-23T16:45:33Z</updated>
<author>
<name>Christoph Lameter</name>
</author>
<published>2005-06-23T07:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45778ca819accab1a4a3378b3566cab0f189164f'/>
<id>urn:sha1:45778ca819accab1a4a3378b3566cab0f189164f</id>
<content type='text'>
The following patch removes the f_error field and all checks of f_error.

Trond said:

  f_error was introduced for NFS, and made sense when we were guaranteed
  always to have a file pointer around when write errors occurred.  Since
  then, we have (for various reasons) had to introduce the nfs_open_context in
  order to track the file read/write state, and it made sense to move our
  f_error tracking there too.

Signed-off-by: Christoph Lameter &lt;christoph@lameter.com&gt;
Acked-by: Trond Myklebust &lt;trond.myklebust@fys.uio.no&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] NFS: Add debugging code to NFSv4 readdir</title>
<updated>2005-06-22T20:07:44Z</updated>
<author>
<name>Trond Myklebust</name>
</author>
<published>2005-06-22T17:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eadf4598e7ec37a234e70e965bd335860e58bda4'/>
<id>urn:sha1:eadf4598e7ec37a234e70e965bd335860e58bda4</id>
<content type='text'>
 Signed-off-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] NFSv4: Map a couple of NFSv4 errors to EINVAL.</title>
<updated>2005-06-22T20:07:44Z</updated>
<author>
<name>Manoj Naik</name>
</author>
<published>2005-06-22T17:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ebf3656fd18430d90fbb3199b31d08178c37134'/>
<id>urn:sha1:6ebf3656fd18430d90fbb3199b31d08178c37134</id>
<content type='text'>
 This shows up on running tar over NFSv4.

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