]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
NFSv4.1 move deviceid cache to filelayout driver
authorChristoph Hellwig <hch@infradead.org>
Tue, 1 Mar 2011 01:34:21 +0000 (01:34 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 11 Mar 2011 20:38:43 +0000 (15:38 -0500)
commitea8eecdd11ee6becd09c095c8efa88aa7df95961
tree4db9c584989d006790637e255657a010c8243cb9
parentcbdabc7f8bf14ca1d40ab1cb86f64b3bc09716e8
NFSv4.1 move deviceid cache to filelayout driver

No need for generic cache with only one user.
Keep a simple hash of deviceids in the filelayout driver.

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Acked-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4filelayout.h
fs/nfs/nfs4filelayoutdev.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h
include/linux/nfs_fs_sb.h