Commit Graph

56 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
8d9ac84b46 infra: extend cmds with 2 strings 2020-07-20 21:20:47 +02:00
Thomas Schoebel-Theuer
ea4fbc1885 all: remove superfluous dealloc tests and clears 2020-07-08 21:00:05 +02:00
Thomas Schoebel-Theuer
35ca2b9f76 client: fix error path 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
a7fd123dd6 client: make statistics accessible via brick instance 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
101a0d7b90 client: add socket_count reporting 2020-06-30 21:07:09 +02:00
Thomas Schoebel-Theuer
628c636dff all: distinguish *_ops_* from *_amount_* at limiter 2020-04-13 11:24:01 +02:00
Thomas Schoebel-Theuer
8a1b745d4f client: enable compressions 2020-04-13 11:21:17 +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
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
7c454390e9 client: trigger after network shutdown or failure 2020-04-13 09:55:19 +02:00
Thomas Schoebel-Theuer
a6487909aa client: allow polling on separate info_timeout 2020-01-27 16:01:16 +01:00
Thomas Schoebel-Theuer
72c044b073 client: improve statistics 2020-01-27 11:58:17 +01:00
Thomas Schoebel-Theuer
9d0db3beb7 client: avoid blocking for shutdown 2020-01-24 17:44:04 +01:00
Thomas Schoebel-Theuer
7618064cc4 client: count number of threads 2020-01-24 17:44:04 +01:00
Thomas Schoebel-Theuer
5179c28b91 client: earlier stop receiver thread 2020-01-24 17:44:03 +01:00
Thomas Schoebel-Theuer
b0ec727e50 client: limit for testing 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
0c1d47b955 client: speed up timeouting 2019-07-10 11:27:37 +02:00
Thomas Schoebel-Theuer
177b4dc65b client: fix uninitialized value 2018-10-22 13:07:35 +02:00
Thomas Schoebel-Theuer
d5dc1ea8af all: differentiate traffic types 2018-05-14 20:42:00 +02:00
Thomas Schoebel-Theuer
2dff1c0c14 net: make mars_create_socket() options dynamic 2018-05-14 19:42:05 +02:00
Thomas Schoebel-Theuer
1022c21ac6 Merge branch 'mars0.1.y' into mars0.1a.y 2018-02-01 06:25:02 +01:00
Thomas Schoebel-Theuer
2fef63b72a client: replace spinlock with mutex 2018-01-31 07:23:41 +01:00
Thomas Schoebel-Theuer
5b12f5c569 client: show number of active channels in statistics 2017-07-05 14:15:41 +02:00
Thomas Schoebel-Theuer
0adab134ac Merge branch 'mars0.1.y' into mars0.1b.y 2017-07-05 07:48:08 +02:00
Thomas Schoebel-Theuer
69d2f864d3 client: reset limiter 2017-07-05 07:37:12 +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
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
7437e95776 client: use 2 sockets by default 2017-04-15 18:09:41 +02:00
Thomas Schoebel-Theuer
fdda26821c client: improve bundling performance 2017-04-15 18:09:40 +02:00
Thomas Schoebel-Theuer
c42bbfec5d client: fix socket bundling deadlock 2017-04-15 18:09:40 +02:00
Thomas Schoebel-Theuer
4d6317af21 client: fix deadlock on remissive server
Abort via timeout wasn't always execeuted when the server first
accepted the connect, but later closed it due to rejected
CMD_CONNECT or other reasons.
2017-04-15 18:09:40 +02:00
Thomas Schoebel-Theuer
ae7d89fdaf client: better errors and warnings 2017-04-11 09:30:34 +02:00
Thomas Schoebel-Theuer
4793b2c0d2 client: tune socket bundling 2017-04-11 09:30:34 +02:00
Thomas Schoebel-Theuer
f4795b6c74 client: implement socket bundling 2017-04-11 09:30:34 +02:00
Thomas Schoebel-Theuer
b7bd757d99 client: dont try get_info when brick isnt working 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
4805d25cad client: adapt timeout at get_info 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
4934871905 cient: shut down socket before stopping thread 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
ec9e4cd536 client: earlier stop sender thread 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
f84cf05316 client: earlier send stop on shutdown 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
9438c99647 client: adapt socket aborts to io_timeout 2017-04-04 08:38:15 +02:00
Thomas Schoebel-Theuer
d726df70f3 client: correct timeout error code 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
4d31d09534 all: remove CONFIG_MARS_BIGMODULE 2016-03-03 09:33:34 +01:00
Thomas Schoebel-Theuer
e7464b3c02 all: correct error code EIO
The error code -EIO should always refer to a problem of
lower storage laysers. Thus MARS should not generate that
code itself, but other ones.
2015-01-20 15:20:10 +01:00
Thomas Schoebel-Theuer
e4d2567eed client: fix communication protocol error 2014-12-07 09:16:49 +01:00
Thomas Schoebel-Theuer
aa09d7df30 all: clarify license GPLv2+ 2014-11-25 18:09:17 +01:00
Thomas Schoebel-Theuer
917d5ae2d2 light: fix client shutdown on slow network
On slow networks, the generic net_io_timeout is too long if you are
impatiently waiting for disconnect.

Change the io_timeout of the individual client brick to a short value.
2014-11-12 09:01:35 +01:00
Thomas Schoebel-Theuer
1295c43a7a infra: move io_timeout to generic interface
This is needed for the next commit.
2014-11-12 09:01:34 +01:00
Thomas Schoebel-Theuer
7aebfdf6bb all: remove __exit annotation 2014-04-24 18:08:31 +02:00