public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH Version 3 0/1] NFSv4.1: Fix an NFSv4.1 state renewal regression
@ 2014-09-29 16:31 andros
  2014-09-29 16:31 ` [PATCH Version 3 1/1] " andros
  0 siblings, 1 reply; 4+ messages in thread
From: andros @ 2014-09-29 16:31 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs, Andy Adamson

From: Andy Adamson <andros@netapp.com>

Version 3 responds to a review request by Trond:

The problem here isn't that we're failing to send a SEQUENCE in a
situation where we're not required to do so by the spec. The problem
is that we're failing to rearm renewd when we skip that SEQUENCE call.

Instead of removing them, could you rather please modify the above
lines to return an error, and then have nfs4_renew_state() respond by
calling nfs4_schedule_state_renewal(), instead of just skipping it as
we do today. In fact, AFAICS we want to do the same when the renew
call fails due to ENOMEM (but not when it returns EIO, since that
signals that the nfs_client is in the process of shutting down).

Andy Adamson (1):
  NFSv4.1: Fix an NFSv4.1 state renewal      regression

 fs/nfs/nfs4proc.c   |  2 +-
 fs/nfs/nfs4renewd.c | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [PATCH Version 3 0/1] NFSv4.1: Fix an NFSv4.1 state renewal regression
@ 2014-09-29 16:29 andros
  0 siblings, 0 replies; 4+ messages in thread
From: andros @ 2014-09-29 16:29 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs, Andy Adamson

From: Andy Adamson <andros@netapp.com>

Version 3 responds to a review request by Trond:

The problem here isn't that we're failing to send a SEQUENCE in a
situation where we're not required to do so by the spec. The problem
is that we're failing to rearm renewd when we skip that SEQUENCE call.

Instead of removing them, could you rather please modify the above
lines to return an error, and then have nfs4_renew_state() respond by
calling nfs4_schedule_state_renewal(), instead of just skipping it as
we do today. In fact, AFAICS we want to do the same when the renew
call fails due to ENOMEM (but not when it returns EIO, since that
signals that the nfs_client is in the process of shutting down).

Andy Adamson (1):
  NFSv4.1: Fix an NFSv4.1 state renewal      regression

 fs/nfs/nfs4proc.c   |  2 +-
 fs/nfs/nfs4renewd.c | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)

-- 
1.8.3.1


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

end of thread, other threads:[~2014-09-29 17:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29 16:31 [PATCH Version 3 0/1] NFSv4.1: Fix an NFSv4.1 state renewal regression andros
2014-09-29 16:31 ` [PATCH Version 3 1/1] " andros
2014-09-29 17:10   ` Trond Myklebust
  -- strict thread matches above, loose matches on Subject: below --
2014-09-29 16:29 [PATCH Version 3 0/1] " andros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox