diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-03 20:35:27 (GMT) |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-01-06 03:40:53 (GMT) |
commit | 55b9df93ddd684cbc4c2dee9b8a99f6e48348212 (patch) | |
tree | 23d80bb002807d513aa8d44d068cd7ec6f124123 /fs/nfs/filelayout | |
parent | ceb3a16c070c403f5f9ca46b46cf2bb79ea11750 (diff) | |
download | linux-55b9df93ddd684cbc4c2dee9b8a99f6e48348212.tar.xz |
NFSv4/v4.1: Verify the client owner id during trunking detection
While we normally expect the NFSv4 client to always send the same client
owner to all servers, there are a couple of situations where that is not
the case:
1) In NFSv4.0, switching between use of '-omigration' and not will cause
the kernel to switch between using the non-uniform and uniform client
strings.
2) In NFSv4.1, or NFSv4.0 when using uniform client strings, if the
uniquifier string is suddenly changed.
This patch will catch those situations by checking the client owner id
in the trunking detection code, and will do the right thing if it notices
that the strings differ.
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/filelayout')
0 files changed, 0 insertions, 0 deletions