-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1286 from chu11/issue1197-part1
kvs: Refactor in preparation for private namespaces
- Loading branch information
Showing
25 changed files
with
1,403 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
flux_kvs_namespace_create(3) | ||
============================ | ||
:doctype: manpage | ||
|
||
|
||
NAME | ||
---- | ||
flux_kvs_namespace_create - create a KVS namespace | ||
|
||
|
||
SYNOPSIS | ||
-------- | ||
#include <flux/core.h> | ||
|
||
flux_future_t *flux_kvs_namespace_create (flux_t *h, | ||
const char *namespace, | ||
int flags); | ||
|
||
DESCRIPTION | ||
----------- | ||
`flux_kvs_namespace_create()` creates a KVS namespace. Within a | ||
namespace, users can get/put KVS values completely independent of | ||
other KVS namespaces. | ||
FLAGS | ||
----- | ||
|
||
The _flags_ mask is currently unused and should be set to 0. | ||
|
||
|
||
RETURN VALUE | ||
------------ | ||
`flux_kvs_namespace_create()` returns a `flux_future_t` on success, or | ||
NULL on failure with errno set appropriately. | ||
ERRORS | ||
------ | ||
|
||
EINVAL:: | ||
One of the arguments was invalid. | ||
|
||
ENOMEM:: | ||
Out of memory. | ||
|
||
EPROTO:: | ||
A request was malformed. | ||
|
||
ENOSYS:: | ||
The KVS module is not loaded. | ||
|
||
EEXIST:: | ||
The namespace already exists. | ||
|
||
AUTHOR | ||
------ | ||
This page is maintained by the Flux community. | ||
RESOURCES | ||
--------- | ||
Github: <http://github.com/flux-framework> | ||
|
||
|
||
COPYRIGHT | ||
--------- | ||
include::COPYRIGHT.adoc[] | ||
SEE ALSO | ||
--------- | ||
flux_kvs_lookup(3), flux_kvs_commit(3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,3 +405,5 @@ vpack | |
dirref | ||
lookups | ||
mh | ||
namespaces | ||
ENOTSUP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.