Commit Graph

60 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
e551b6d89f infra: make Lamport exchange more generic 2020-07-08 21:09:39 +02:00
Thomas Schoebel-Theuer
ea4fbc1885 all: remove superfluous dealloc tests and clears 2020-07-08 21:00:05 +02:00
Thomas Schoebel-Theuer
a8b91e2d8a net: fix decompression block-aligned allocation 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
d0dcec57b1 net: suppress annoying error message 2020-05-17 07:38:23 +02:00
Thomas Schoebel-Theuer
8a86c08750 net: correct error message 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
95883b055c infra: allow transport compression 2020-04-13 11:21:17 +02:00
Thomas Schoebel-Theuer
66d6659462 net: simplify mars_recv_cb() 2020-04-13 11:21:16 +02:00
Thomas Schoebel-Theuer
4256cc17a1 net: simplify mref sending 2020-04-13 11:21:16 +02:00
Thomas Schoebel-Theuer
9e6fb4120c infra: deprecate ref_cs_mode 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
d87fb27473 all: deprecate mref_skip_sync 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
40e72f9e7d all: deprecate mref_rw and mref_may_write 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
131b28e377 infra: introduce common_proto_level 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
593ca2bb8f infra: allow mixed network protocol levels 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
0c5b5daa38 infra: {send,recv}ing mars_cmd via wrapper 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
f8e552a21b net: ignore signals 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
222f048937 all: adapt to new timespec64 type 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
a8766f3016 net: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
764399d262 net: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
8257466b14 Merge branch 'mars0.1.y' into mars0.1a.y 2018-10-22 13:07:23 +02:00
Thomas Schoebel-Theuer
0d579d48ba net: fix O_NONBLOCK races
Runtime modification of _shared_ socket flags like O_NONBLOCK
is a bad idea. If I remember correctly, long ago there was no
other way. Current kernels allow different flags on the stack per
kernel_*() call, but I am not sure whether this could break
compatibility with some very ancient kernels. Unfortunately, I
cannot test MARS with these dinosaur kernels anymore, but hopefully
nobody uses them anyway.
2018-10-22 10:49:29 +02:00
Thomas Schoebel-Theuer
1615dbf538 net: make TOS / DSCP compile time configurable 2018-05-15 14:57:27 +02:00
Thomas Schoebel-Theuer
d5dc1ea8af all: differentiate traffic types 2018-05-14 20:42:00 +02:00
Thomas Schoebel-Theuer
1d3fb447d5 net: make mars_accept_socket() options dynamic 2018-05-14 19:42:05 +02:00
Thomas Schoebel-Theuer
2dff1c0c14 net: make mars_create_socket() options dynamic 2018-05-14 19:42:05 +02:00
Thomas Schoebel-Theuer
922a82d25e net: make socket options dynamic 2018-05-14 19:42:04 +02:00
Thomas Schoebel-Theuer
165f40ef41 client: adapt socket aborts to io_timeout 2018-03-19 06:41:10 +01:00
Thomas Schoebel-Theuer
2c6615e5ea net: speedup rmmod 2017-09-12 09:34:14 +02:00
Thomas Schoebel-Theuer
cf25790fd2 Merge tag 'mars0.1stable48' into mars0.1a.y 2017-09-11 11:53:28 +02:00
Thomas Schoebel-Theuer
56d7f72a62 net: early detection of socket hangups 2017-09-08 23:42:30 +02:00
Thomas Schoebel-Theuer
b32b2d57fe net: use quadratic backoff sleeptime 2017-05-28 19:20:26 +02:00
Thomas Schoebel-Theuer
ee1cf12efa infra: add non-strict version of Lamport clock 2017-05-28 19:20:25 +02:00
Thomas Schoebel-Theuer
d9d31d831e net: don't update Lamport clock too often 2017-04-15 18:10:45 +02:00
Thomas Schoebel-Theuer
4f071e362f infra: new interface to Lamport clock 2017-04-15 18:10:44 +02:00
Thomas Schoebel-Theuer
bf2358f4dc client: flush old buffers when channel is changed 2017-04-15 18:10:44 +02:00
Thomas Schoebel-Theuer
8045e6b632 net: do corking at mars_send_cb() 2017-04-15 18:10:44 +02:00
Thomas Schoebel-Theuer
9ed1d12ed9 net: do corking at mars_send_mref() 2017-04-15 18:10:44 +02:00
Thomas Schoebel-Theuer
5b2cad9f6e net: use corking at mars_send_struct() 2017-04-15 18:10:44 +02:00
Thomas Schoebel-Theuer
d607e422d4 net: find out current tcp send buffer space available 2017-04-11 09:30:34 +02:00
Thomas Schoebel-Theuer
7f86c52f7c net: use SHUT_RDWR 2017-04-11 09:30:34 +02:00
Thomas Schoebel-Theuer
9438c99647 client: adapt socket aborts to io_timeout 2017-04-04 08:38:15 +02:00
Thomas Schoebel-Theuer
d2abf4d64f net: adapt to new sk_net_refcnt (kernel 4.2) 2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
07887e1f74 net: compatibility to kernel 3.19 2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
4d31d09534 all: remove CONFIG_MARS_BIGMODULE 2016-03-03 09:33:34 +01:00
Thomas Schoebel-Theuer
c1ee80f9f4 server: fix memory leak on writes
This was unnoticed for a long time because it simply did not occur
in ordinary MARS Light workloads.
2015-10-19 07:24:20 +02:00
Thomas Schoebel-Theuer
85658c8157 net: speakyness add dump_meta() 2014-12-09 14:31:42 +01:00
Thomas Schoebel-Theuer
5c7a3c95cc net: safeguard protocol errors 2014-12-07 09:16:49 +01:00
Thomas Schoebel-Theuer
4f2b48b0a5 net: safeguard network protocol 2014-12-07 09:16:49 +01:00
Thomas Schoebel-Theuer
039858ae30 net: fix unnoticed short reads 2014-12-04 07:46:06 +01:00
Thomas Schoebel-Theuer
aa09d7df30 all: clarify license GPLv2+ 2014-11-25 18:09:17 +01:00
Thomas Schoebel-Theuer
5fb9fc03d3 net: fix unnecessary socket shutdown on nonblocking connects 2014-11-12 09:01:34 +01:00