Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
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
trackrdrd
Commits
7a372b6c
Commit
7a372b6c
authored
Sep 03, 2014
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trackrdrd: now trying a full memory barrier it writer threads before
sending data
parent
1f4a3a99
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
child.c
trackrdrd/src/child.c
+0
-2
worker.c
trackrdrd/src/worker.c
+2
-0
No files found.
trackrdrd/src/child.c
View file @
7a372b6c
...
...
@@ -56,7 +56,6 @@
#include "vsb.h"
#include "vpf.h"
#include "vmb.h"
#include "libvarnish.h"
#include "vsl.h"
...
...
@@ -816,7 +815,6 @@ OSL_Track(void *priv, enum VSL_tag_e tag, unsigned fd, unsigned len,
sprintf
(
reqend_str
,
"%s=%u.%09lu"
,
REQEND_T_VAR
,
(
unsigned
)
reqend_t
.
tv_sec
,
reqend_t
.
tv_nsec
);
append
(
de
,
tag
,
xid
,
reqend_str
,
strlen
(
reqend_str
));
VWMB
();
de
->
state
=
DATA_DONE
;
MON_StatsUpdate
(
STATS_DONE
);
submit
(
he
);
...
...
trackrdrd/src/worker.c
View file @
7a372b6c
...
...
@@ -38,6 +38,7 @@
#include "trackrdrd.h"
#include "vas.h"
#include "miniobj.h"
#include "vmb.h"
#define VERSION_LEN 64
#define CLIENT_ID_LEN 80
...
...
@@ -129,6 +130,7 @@ wrk_send(void **mq_worker, dataentry *entry, worker_data_t *wrk)
AN
(
mq_worker
);
/* XXX: report entry->incomplete to backend ? */
VMB
();
errnum
=
mqf
.
send
(
*
mq_worker
,
entry
->
data
,
entry
->
end
,
entry
->
key
,
entry
->
keylen
,
&
err
);
if
(
errnum
!=
0
)
{
...
...
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