diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-06-21 03:34:28 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-06-25 22:05:48 +0000 |
commit | 328623972837345dbcf3ed372293201e3bc4fe3c (patch) | |
tree | e3385166859612c64b1d4e34f44a61e70b91149c /cmogstored.h | |
parent | 40f84cd0924958c619d434a9147e7ed2b6abaadc (diff) | |
download | cmogstored-328623972837345dbcf3ed372293201e3bc4fe3c.tar.gz |
This should prevent one class of "accidental" failures. (The sidechannel has never been meant to be secure and exposed to the public).
Diffstat (limited to 'cmogstored.h')
-rw-r--r-- | cmogstored.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmogstored.h b/cmogstored.h index bc6ee59..a91f393 100644 --- a/cmogstored.h +++ b/cmogstored.h @@ -135,11 +135,13 @@ struct mog_mgmt { }; struct mog_queue; +struct mog_svc; struct mog_svc { int docroot_fd; const char *docroot; size_t nmogdev; size_t user_set_aio_threads; /* only touched by main/notify thread */ + size_t user_req_aio_threads; /* protected by aio_threads_lock */ size_t thr_per_dev; /* private */ @@ -150,6 +152,7 @@ struct mog_svc { pthread_mutex_t devstats_lock; struct mog_queue *queue; LIST_HEAD(mgmt_head, mog_mgmt) devstats_subscribers; + SIMPLEQ_ENTRY(mog_svc) qentry; mode_t put_perms; mode_t mkcol_perms; struct mog_fd *http_mfd; |