NFS client patches for Linux 2.6.7

The following set of patches fix known issues with the 2.6.7 NFS client code, and significantly enhance the support for NFSv4.

linux-2.6.7-01-fix_locks.dif:

VFS: Minimal fix to posix_same_owner() to only use the fl_owner_t field in all cases when the caller is not lockd

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>

linux-2.6.7-02-fix_locks2.dif:

VFS: More extensive fix to locking code. Add file_lock_operations to deal with copy/release of private data in the file_lock->fl_u field. Add filesystem hooks for steal_locks(): changing the lockowner is hardly a supported concept in most file locking protocols.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>

linux-2.6.7-03-fix_nfsd.dif:

NFSv4 server: Fix up nfs4state.c to support the file_lock_operations, and the lock_manager_operations.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>

linux-2.6.7-04-fix_lockd.dif:

NLM/lockd: Fix up lockd to make use of the new interface. In particular set up fl_compare_owner() methods for both client and server.

NLM/lockd: Make the client release all locks in a "steal_locks" situation.

NLM/lockd: Fix up copying/release of the file_lock->fl_u.nfs_fl private data.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>

linux-2.6.7-05-nlm_lockowner.dif:

NLM/lockd: set up a unique mapping between the fl_owner_t and a unique 32-bit "pid" on the client side. We can't use the real pid of the process/thread 'cos CLONE_FILES does not automatically imply CLONE_THREAD.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>

linux-2.6.7-06-cleanup_locks.dif:

NLM/lockd: Move fl_insert, fl_remove, into struct file_lock_operations.

NLM/lockd: Move fl_notify, into struct lock_manager_operations.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>

linux-2.6.7-07-cleanup_posix.dif:

NLM/lockd/NFSv3/CIFS: Make the filesystem responsible for calling posix_lock_file() if it needs to. This means it can be done under the correct atomicity locks.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>

linux-2.6.7-NLM_FIXES.dif:

All of the above.


Last modified: Mon Jan 05 14:33:10 EST 2004
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT]linux-2.6.7-01-fix_l..>2004-06-30 03:04 2.2K 
[TXT]linux-2.6.7-02-fix_l..>2004-06-30 03:32 4.6K 
[TXT]linux-2.6.7-03-fix_n..>2004-06-29 21:46 2.4K 
[TXT]linux-2.6.7-04-fix_l..>2004-06-30 03:19 9.6K 
[TXT]linux-2.6.7-05-nlm_l..>2004-06-30 03:32 8.4K 
[TXT]linux-2.6.7-06-clean..>2004-06-30 04:44 5.2K 
[TXT]linux-2.6.7-07-clean..>2004-07-02 17:30 6.3K 
[TXT]linux-2.6.7-NLM_FIXE..>2004-06-30 21:12 31K 

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