summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4acl.c
diff options
context:
space:
mode:
authorJ. Bruce Fields2010-06-15 01:01:57 +0200
committerJ. Bruce Fields2010-10-21 16:11:51 +0200
commitac7c46f29a44f6d7f6d2e36dc874c0b7056acad2 (patch)
tree8349c56fbb67cb456fea62fee6ef29df20d6f87b /fs/nfsd/nfs4acl.c
parentnfsd4: use client pointer to backchannel session (diff)
downloadkernel-qcow2-linux-ac7c46f29a44f6d7f6d2e36dc874c0b7056acad2.tar.gz
kernel-qcow2-linux-ac7c46f29a44f6d7f6d2e36dc874c0b7056acad2.tar.xz
kernel-qcow2-linux-ac7c46f29a44f6d7f6d2e36dc874c0b7056acad2.zip
nfsd4: make backchannel sequence number per-session
Currently we don't deal well with a client that has multiple sessions associated with it (even simultaneously, or serially over the lifetime of the client). In particular, we don't attempt to keep the backchannel running after the original session diseappears. We will fix that soon. Once we do that, we need the slot sequence number to be per-session; otherwise, for example, we cannot correctly handle a case like this: - All session 1 connections are lost. - The client creates session 2. We use it for the backchannel (since it's the only working choice). - The client gives us a new connection to use with session 1. - The client destroys session 2. At this point our only choice is to go back to using session 1. When we do so we must use the sequence number that is next for session 1. We therefore need to maintain multiple sequence number streams. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4acl.c')
0 files changed, 0 insertions, 0 deletions