linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] clstated: add a daemon to track NFSv4 client names on stable storage (RFC)
@ 2011-12-14 13:57 Jeff Layton
  2011-12-14 13:57 ` [PATCH 1/7] clstated: add clname tracking daemon stub Jeff Layton
                   ` (7 more replies)
  0 siblings, 8 replies; 34+ messages in thread
From: Jeff Layton @ 2011-12-14 13:57 UTC (permalink / raw)
  To: linux-nfs

This patchset is the userspace portion of the knfsd client name tracking
overhaul. See this patch series for an explanation:

    nfsd: overhaul the client name tracking code (RFC)

The daemon listens for upcalls on the rpc_pipefs pipe using libevent,
and handles the requests.

The data is stored using a sqlite database. The main reason for this is
that it takes care of most of the fussy details and atomicity concerns
of tracking the information on stable storage.

For now, the daemon is only suitable for single-host configurations.
The plan is to later extend this to be suitable for clustered
configurations as well.

The code is still a little rough, so be gentle. It also lacks things
like a manpage. I plan to add all that before doing a "formal" patch
submission, but I wanted to get some early review of the overall design
before to spend a lot of time knocking off the rough edges.

Jeff Layton (7):
  clstated: add clname tracking daemon stub
  clstated: reattempt the pipe open if it fails on ENOENT
  clstated: add autoconf goop for sqlite
  clstated: add routines for a sqlite backend database
  clstated: add remove functionality
  clstated: add check/update functionality
  clstated: add function to remove unreclaimed client records

 aclocal/libsqlite3.m4      |   33 +++
 configure.ac               |   23 ++
 utils/Makefile.am          |    4 +
 utils/clstated/Makefile.am |   14 +
 utils/clstated/clstated.c  |  355 +++++++++++++++++++++++++++
 utils/clstated/sqlite.c    |  572 ++++++++++++++++++++++++++++++++++++++++++++
 utils/clstated/sqlite.h    |   30 +++
 7 files changed, 1031 insertions(+), 0 deletions(-)
 create mode 100644 aclocal/libsqlite3.m4
 create mode 100644 utils/clstated/Makefile.am
 create mode 100644 utils/clstated/clstated.c
 create mode 100644 utils/clstated/sqlite.c
 create mode 100644 utils/clstated/sqlite.h


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

end of thread, other threads:[~2011-12-15 23:34 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 13:57 [PATCH 0/7] clstated: add a daemon to track NFSv4 client names on stable storage (RFC) Jeff Layton
2011-12-14 13:57 ` [PATCH 1/7] clstated: add clname tracking daemon stub Jeff Layton
2011-12-14 13:57 ` [PATCH 2/7] clstated: reattempt the pipe open if it fails on ENOENT Jeff Layton
2011-12-14 15:09   ` Steve Dickson
2011-12-14 15:19     ` Jeff Layton
2011-12-14 15:29       ` Steve Dickson
2011-12-14 15:37         ` Jeff Layton
2011-12-14 15:56           ` Steve Dickson
2011-12-14 16:00             ` Jeff Layton
2011-12-14 16:28               ` Steve Dickson
2011-12-14 21:10                 ` J. Bruce Fields
2011-12-14 21:20                   ` Jeff Layton
2011-12-14 13:57 ` [PATCH 3/7] clstated: add autoconf goop for sqlite Jeff Layton
2011-12-14 13:57 ` [PATCH 4/7] clstated: add routines for a sqlite backend database Jeff Layton
2011-12-14 14:56   ` Chuck Lever
2011-12-14 15:14     ` Jeff Layton
2011-12-14 15:47       ` Chuck Lever
2011-12-14 16:15         ` Jeff Layton
2011-12-15 14:55           ` Chuck Lever
2011-12-15 15:04             ` Jeff Layton
2011-12-14 13:57 ` [PATCH 5/7] clstated: add remove functionality Jeff Layton
2011-12-14 13:57 ` [PATCH 6/7] clstated: add check/update functionality Jeff Layton
2011-12-14 13:57 ` [PATCH 7/7] clstated: add function to remove unreclaimed client records Jeff Layton
2011-12-14 15:23 ` [PATCH 0/7] clstated: add a daemon to track NFSv4 client names on stable storage (RFC) Steve Dickson
2011-12-14 15:32   ` Jeff Layton
2011-12-14 15:44     ` Steve Dickson
2011-12-14 16:05       ` Jeff Layton
2011-12-14 16:26         ` Steve Dickson
2011-12-14 16:34           ` Jeff Layton
2011-12-14 20:31             ` Steve Dickson
2011-12-14 21:06               ` Jeff Layton
2011-12-14 22:27                 ` Steve Dickson
2011-12-15  1:46                   ` Jeff Layton
2011-12-15 23:34                     ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).