Experimental NFS client patches for Linux 2.4.23

Please note: the patches in this directory represent what I am currently using on my machine. They are experimental, and are made available only so that people can test out features that I plan for inclusion in the kernel in the future.

A brief explanation of the patches in this directory

linux-2.4.23-01-posix_race.dif:

A patch to fix an Oops in the locking code. In locks_remove_posix() we need to hold a reference to fl->fl_file when calling down to the filesystem.

linux-2.4.23-02-fix_commit:

Slight optimization to the NFS writes. Make nfs_file_commit() always flush the entire file.

linux-2.4.23-03-fix_osx.dif:

A patch by Greg Banks that increases the supported NLM cookie size. This is needed in order to work correctly with Apple and FreeBSD clients.

linux-2.4.23-04-fix_lockd3.dif:

A patch by Patrice Dumas that ensures that the server index blocks uniquely by using the client address in addition to the value of the NLM cookie field.

linux-2.4.23-05-soft2.dif:

Cleanup.

linux-2.4.23-06-fix_unlink.dif:

Ensure that sillydelete waits upon completion unless if user killed the task. Also fix an NFSv3 alignment problem on 64-bit architectures.

linux-2.4.23-07-seekdir.dif:

A patch that papers over a glibc bug. In glibc-2.2 and above, they use the new getdents64() syscall even for the 32-bit readdir. As a result, they have problems coping with the unsigned 64-bit d_off values that may get returned by some NFSv3 servers.

If you are seeing problems involving files that mysteriously disappear from your directory listings, then please consider applying this patch.

NOTE: You might still have to set the '32bitclients' export option on some IRIX servers.

linux-2.4.23-08-access.dif:

Implements full support for the NFSv3 ACCESS function. This means that file permission mapping, ACLs, and uid/gid mapping on the server should work as expected, allowing or denying certain types of behaviour.

Note that ACCESS results are cached in order to improve performance. The caching period is the same as that used to cache attributes (so if you use 'noac', you can expect a nasty performance hit).

linux-2.4.23-09-pathconf.dif:

A patch that ensures we don't exceed the maximum file name length on an NFSv3 partition.

linux-2.4.23-10-cto2.dif:

Reduce the number of getattr/lookup calls in nfs_lookup_revalidate() by making the latter rely on the ordinary attribute cache, and moving the close-to-open data consistency checking into nfs_open().

This does mean that we can end up calling GETATTR twice: once in nfs_lookup_revalidate() then immediately after in nfs_open(), however it also means that sys_stat() and friends now use cached attributes.

linux-2.4.23-11-rdplus.dif:

Implements the NFSv3 READDIRPLUS function that allows further file lookup caching improvements.

linux-2.4.23-12-sock_disconnect.dif:

Ensure that the RPC client disconnects TCP sockets after they have been left idle for 5 minutes.

linux-2.4.23-NFS_ALL.dif:

A patch containing all of the above changes to the NFS and RPC code. As it is a collection of experimental patches, please expect it to change without notice.


Return to main menu

Please address all comments about this page to Trond Myklebust
About Trond
Last modified: Thu Feb 13 15:28:45 CET 2003
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT]linux-2.4.23-01-posi..>2003-11-15 06:12 601  
[TXT]linux-2.4.23-02-fix_..>2003-11-17 00:35 1.9K 
[TXT]linux-2.4.23-03-fix_..>2003-11-06 01:00 4.8K 
[TXT]linux-2.4.23-04-fix_..>2003-11-06 01:06 4.2K 
[TXT]linux-2.4.23-05-soft..>2003-10-11 18:40 6.6K 
[TXT]linux-2.4.23-06-fix_..>2003-07-03 10:31 2.2K 
[TXT]linux-2.4.23-07-seek..>2003-10-11 18:45 3.3K 
[TXT]linux-2.4.23-08-acce..>2002-08-21 19:03 5.7K 
[TXT]linux-2.4.23-09-path..>2002-08-21 19:07 16K 
[TXT]linux-2.4.23-10-cto2..>2003-05-07 19:41 2.1K 
[TXT]linux-2.4.23-11-rdpl..>2003-10-11 18:52 16K 
[TXT]linux-2.4.23-12-sock..>2003-11-04 17:13 5.8K 
[TXT]linux-2.4.23-NFS_ALL..>2003-11-17 01:21 64K 

Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16 mod_perl/2.0.11 Perl/v5.16.3 Server at linux-nfs.org Port 80