NFSv4: Clean up the OPEN/CLOSE serialisation code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 Jan 2008 22:56:07 +0000 (17:56 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:24 +0000 (02:05 -0500)
commit2f74c0a05612b9c2014b5b67833dba9b9f523948
tree59bb49bd9a393774b65e3d39e53edfe7bab4613e
parentacee478afc6ff7e1b8852d9a4dca1ff36021414d
NFSv4: Clean up the OPEN/CLOSE serialisation code

Reduce the time spent locking the rpc_sequence structure by queuing the
nfs_seqid only when we are ready to take the lock (when calling
nfs_wait_on_sequence).

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c