On Wed, 2018-09-05 at 08:47 +1000, NeilBrown wrote: > With NFSv4.1, the server specifies max_rqst_sz and max_resp_sz in the > reply to CREATE session. > > If the client finds it needs to call nfs4_reset_session(), it might > get > smaller sizes back, so any pending read/writes would need to be > resized. > > However, I cannot see how the retry handling for reads/writes has any > chance to change the size. It looks like a request is broken up to > match the original ->rsize and ->wsize, then those individual IO > requests can be retried, but the higher level request is never > re-evaluated in light of a new size. > > Am I missing something, or is this not supported at present? > If it isn't supported, any suggestions on how best to handle a > reduction of the rsize/wsize ?? > Why would a sane server want to do this? Cheers Trond -- Trond Myklebust Linux NFS client maintainer, Hammerspace trond.myklebust@xxxxxxxxxxxxxxx