projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Benchmark results to S3.
[bluesky.git]
/
nfs3
/
nfsd.c
diff --git
a/nfs3/nfsd.c
b/nfs3/nfsd.c
index
9b6ba39
..
b2e1071
100644
(file)
--- a/
nfs3/nfsd.c
+++ b/
nfs3/nfsd.c
@@
-29,15
+29,21
@@
BlueSkyStore *store;
int main(int argc, char *argv[])
{
int i;
int main(int argc, char *argv[])
{
int i;
+
+ signal(SIGPIPE, SIG_IGN);
+
bluesky_init();
g_set_prgname("nfsd");
bluesky_init();
g_set_prgname("nfsd");
- register_rpc();
- bluesky_options.async_inode_fetches = 1;
+ const char *target = getenv("BLUESKY_TARGET");
+ if (target == NULL)
+ target = "s3";
- store = bluesky_store_new(
"s3"
);
+ store = bluesky_store_new(
target
);
fs = bluesky_init_fs("export", store);
fs = bluesky_init_fs("export", store);
+ register_rpc();
+
bluesky_debug_dump(fs);
svc_run();
bluesky_debug_dump(fs);
svc_run();