All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nfs41: implement cb_recall_slot
@ 2010-01-08 20:23 andros
  2010-01-08 20:23 ` [PATCH 6/6] " andros
  0 siblings, 1 reply; 4+ messages in thread
From: andros @ 2010-01-08 20:23 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs

This patch applies on 2.6.33-rc3 Tronds nfs-for-next tree, on top of the last
patch series I sent.

[last patch series]
0001-nfs41-fix-wrong-error-on-callback-decode-hdr-overflo.patch
0002-nfs41-directly-encode-back-channel-error.patch
0003-nfs41-remove-uneeded-checks-in-callback-processing.patch
0004-nfs41-prepare-for-back-channel-drc.patch
0005-nfs41-back-channel-drc-minimal-implementation.patch


0006-nfs41-implement-cb_recall_slot.patch
The fore channel session is drained, then the new highest_slot is set.

Tested with a new pyNFS server CB_RECALL_SLOT call and the Connectathon basic
big file test which uses all available slots. 

-->Andy


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH 0/6] nfs41: return correct errors on callback replays version 2
@ 2010-01-12 21:48 andros
  2010-01-12 21:48 ` [PATCH 1/6] nfs41: fix wrong error on callback header xdr overflow andros
  0 siblings, 1 reply; 4+ messages in thread
From: andros @ 2010-01-12 21:48 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs


Responded to Tronds comments.

The first three patches clean up callback processing
0001-nfs41-fix-wrong-error-on-callback-hdr-xdr-overflow.patch
0002-nfs41-directly-encode-back-channel-error.patch
0003-nfs41-remove-uneeded-checks-in-callback-processing.patch

These next two implement correct error returns for v4.1 callback replays.
Since our back channel has a ca_maxrequestsize_cached = 0, a replay with
cachethis set to true results in a NFS4ERR_TOO_BIG_TO_CACHE error.
This code is set up to do a real DRC.
A replay with cachethis set to false returns a NFS4ERR_RETRY_UNCACHED_REP
error.
0004-nfs41-prepare-for-back-channel-drc.patch
0005-nfs41-back-channel-drc-minimal-implementation.patch

ADDED:
0006 nfs41:-implement-cb_recall_slot.patch
The fore channel session is drained, then the new highest_slot is set.

TODO: The callback code currently returns NFS4ERR_RESOURCE on all xdr
overflows. This is correct for v4.0, incorrect for v4.1.

Testing:

Modified nfsv4.1 pynfs server tested cb_recall replays with the cb_sequence
cachethis set to False and to True.

Modified nfs4.1 pyNFS server sends CB_RECALL_SLOT call during the Connectathon
basic big file test which uses all available slots.

Connectathon tests pass.

-->Andy


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-13 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-08 20:23 [PATCH] nfs41: implement cb_recall_slot andros
2010-01-08 20:23 ` [PATCH 6/6] " andros
2010-01-12 21:48 [PATCH 0/6] nfs41: return correct errors on callback replays version 2 andros
2010-01-12 21:48 ` [PATCH 1/6] nfs41: fix wrong error on callback header xdr overflow andros
2010-01-12 21:48   ` [PATCH 2/6] nfs41: directly encode back channel error andros
2010-01-12 21:48     ` [PATCH 3/6] nfs41: remove uneeded checks in callback processing andros
2010-01-12 21:48       ` [PATCH 4/6] nfs41: prepare for back channel drc andros
2010-01-12 21:48         ` [PATCH 5/6] nfs41: back channel drc minimal implementation andros
2010-01-12 21:48           ` [PATCH 6/6] nfs41: implement cb_recall_slot andros
2010-01-13 20:58             ` Andy Adamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.