Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
889a8e4c
Commit
889a8e4c
authored
Nov 20, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
White-space & comment cleanup
parent
5cbd8caa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
61 deletions
+5
-61
common_vsm.c
bin/varnishd/common/common_vsm.c
+4
-4
mgt_shmem.c
bin/varnishd/mgt/mgt_shmem.c
+1
-57
No files found.
bin/varnishd/common/common_vsm.c
View file @
889a8e4c
bin/varnishd/mgt/mgt_shmem.c
View file @
889a8e4c
...
@@ -26,62 +26,6 @@
...
@@ -26,62 +26,6 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* SUCH DAMAGE.
*
*
*
* TODO:
*
* There is a risk that the child process might corrupt the VSM segment
* and we should capture that event and recover gracefully.
*
* A possible state diagram could be:
*
* [manager start]
* |
* v
* Open old VSM,
* check pid --------> exit/fail (-n message)
* |
* +<----------------------+
* | ^
* v |
* Create new VSM |
* | |
* v |
* Init header |
* Alloc VSL |
* Alloc VSC:Main |
* Alloc Args etc. |
* | |
* +<--------------+ |
* | ^ |
* v | |
* start worker | |
* | | |
* | | +<---- worker crash
* v | ^
* Reset VSL ptr. | |
* Reset VSC counters | |
* | | |
* +<------+ | |
* | ^ | |
* v | | |
* alloc dynamics | | |
* free dynamics | | |
* | | | |
* v | | |
* +------>+ | |
* | | |
* v | |
* stop worker | |
* | | |
* v | |
* Check consist---------- | ----->+
* | |
* v |
* Free dynamics |
* | |
* v |
* +-------------->+
*
*/
*/
#include "config.h"
#include "config.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment