From: Chuck Lever Date: Mon, 20 Mar 2006 18:44:34 +0000 (-0500) Subject: NFS: Replace atomic_t variables in nfs_direct_req with a single spin lock X-Git-Tag: v2.6.17-rc1~667^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15ce4a0c1ce0d5e288398cb9e5493fd4e55e2025;p=pandora-kernel.git NFS: Replace atomic_t variables in nfs_direct_req with a single spin lock Three atomic_t variables cause a lot of bus locking. Because they are all used in the same places in the code, just use a single spin lock. Now that the atomic_t variables are gone, we can remove the request size limitation since the code no longer depends on the limited width of atomic_t on some platforms. Test plan: Compile with CONFIG_NFS and CONFIG_NFS_DIRECTIO enabled. Millions of fsx operations, iozone, OraSim. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed