]> 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)
commit3c57edfedd2a92e75f02affc814f45a647e512d7
treed9a5e9f93e9ab85e04350166a94a521c780da229
parent80f82dba6da9d8649c8f3def23653149719849f1
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