Skip to content

nfs-utils: support for lifting grace period early

Jeff Layton linux-nfs 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 1 replyIn review
  2. v4 posting 2/27 patches 1 replySuperseded
  3. v4 posting 1/29 patches 3 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v3 posting 2/27 patches13 repliesSuperseded
v3 posting 1/28 patches5 repliesSuperseded
v2 posting 2/27 patches0 repliesSuperseded
v2 posting 1/25 patches31 repliesSuperseded
v1 RFC7 patches3 repliesSuperseded

Changes in v5 from the cover letter

- fix build break in middle of set

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7sm-notify: inform the kernel if there were no hosts to notifyutils/statd/sm-notify.c+25 -00 replies
2/7nfsdcltrack: update comments in sqlite.cutils/nfsdcltrack/sqlite.c+4 -60 replies
3/7nfsdcltrack: rename CLD_* constants with CLTRACK_* prefixesutils/nfsdcltrack/sqlite.c+6 -60 replies
4/7nfsdcltrack: overhaul database initializtionutils/nfsdcltrack/nfsdcltrack.c utils/nfsdcltrack/sqlite.c utils/nfsdcltrack/sqlite.h+141 -850 replies
5/7nfsdcltrack: update schema to v2utils/nfsdcltrack/sqlite.c+93 -80 replies
6/7nfsdcltrack: grab the NFSDCLTRACK_CLIENT_HAS_SESSION env var if it's presentutils/nfsdcltrack/nfsdcltrack.c utils/nfsdcltrack/sqlite.c utils/nfsdcltrack/sqlite.h+55 -120 replies
7/7nfsdcltrack: fetch NFSDCLTRACK_GRACE_START out of environmentutils/nfsdcltrack/nfsdcltrack.c utils/nfsdcltrack/sqlite.c utils/nfsdcltrack/sqlite.h+112 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/7] nfs-utils: support for lifting grace period early

v5:
- fix build break in middle of set

v4:
- replace "reclaim_complete" timestamp column with "has_session" boolean
- change to use NFSDCLTRACK_CLIENT_HAS_SESSION environment variable
- only set timestamp on "has_session" clients during "create" op

v3:
- account for change to NFSDCLTRACK_RECLAIM_COMPLETE env var

This is v5 of the patchset to allow the lifting of the grace period early. The only difference from the v4 set is a fix for a build break that was introduced in the middle of the set (mea culpa!). The end result here should be exactly the same as in the v4 set.

At this point, Bruce has indicated that he intends to merge these patches for v3.18, so I think this set is also ready for merge into nfs-utils.

Jeff Layton (7):
sm-notify: inform the kernel if there were no hosts to notify
nfsdcltrack: update comments in sqlite.c
nfsdcltrack: rename CLD_* constants with CLTRACK_* prefixes
nfsdcltrack: overhaul database initializtion
nfsdcltrack: update schema to v2
nfsdcltrack: grab the NFSDCLTRACK_CLIENT_HAS_SESSION env var if it's
present
nfsdcltrack: fetch NFSDCLTRACK_GRACE_START out of environment

 utils/nfsdcltrack/nfsdcltrack.c | 103 ++++++++++-
 utils/nfsdcltrack/sqlite.c      | 388 ++++++++++++++++++++++++++++++----------
 utils/nfsdcltrack/sqlite.h      |   8 +-
 utils/statd/sm-notify.c         |  25 +++
 4 files changed, 421 insertions(+), 103 deletions(-)
Signature · 1 line
1.9.3