]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
NFSv4.1: use struct nfs_client to qualify deviceid
authorBenny Halevy <bhalevy@panasas.com>
Fri, 20 May 2011 08:45:05 +0000 (10:45 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Sun, 29 May 2011 09:09:47 +0000 (12:09 +0300)
commit67d51f65bde233b17de304baec4f7c4d086471fe
treed9a5e9f93e9ab85e04350166a94a521c780da229
parent3b6445a6f68b839d1b437756b9c72312e33339b2
NFSv4.1: use struct nfs_client to qualify deviceid

deviceids are unique per server, per layout type.
Therefore, in the global cache in the files layout driver
deviceids from different servers may clash so we need
to qualify them with a struct nfs_client that represents
the nfs server that returned the deviceid.

Introduced in 2.6.39 commit ea8eecdd
"NFSv4.1 move deviceid cache to filelayout driver"

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4filelayout.h
fs/nfs/nfs4filelayoutdev.c