]> git.baikalelectronics.ru Git - 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)
commit0a6ca0b8c5c4656b9d08713675ae74dc14c2275b
treed9a5e9f93e9ab85e04350166a94a521c780da229
parent0909c688957cb20c11309bf75340d828fc4d7010
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 98101393
"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