]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd41: use session maxreqs for sequence target and highest slotid
authorAndy Adamson <andros@netapp.com>
Fri, 28 Aug 2009 12:45:02 +0000 (08:45 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 2 Sep 2009 02:24:05 +0000 (22:24 -0400)
commit5089cc47ecb63a804d61d4f1e01523f06850007a
treefd7bdabd4f66ee054fc2b2e2d6b39089d5a5b972
parent384d4cb1a9ed0f09b583e1d3ca0f7a6e1043864f
nfsd41: use session maxreqs for sequence target and highest slotid

This fixes a bug in the sequence operation reply.

The sequence operation returns the highest slotid it will accept in the future
in sr_highest_slotid, and the highest slotid it prefers the client to use.
Since we do not re-negotiate the session slot table yet, these should both
always be set to the session ca_maxrequests.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4state.c