Commit Graph

24 Commits

Author SHA1 Message Date
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
Thomas Schoebel-Theuer
b0867dbc05 client: fix error propagation 2014-03-26 11:43:05 +01:00
Thomas Schoebel-Theuer
59d141c06e client: add network abort
TCP_KEEPALIVE doesn't seem to work.
Use explicit timeout instead when the network
just drops any packet.
2014-02-03 15:06:35 +01:00
Thomas Schoebel-Theuer
99644a943a all: make *_switch() code idempotent
New semantics: it must be possible to call the switch functions
even when nothing has changed.
2013-10-17 07:48:32 +02:00
Thomas Schoebel-Theuer
1e56c2bffc client: avoid higher-order pages for hashing 2013-04-15 18:37:11 +02:00
Thomas Schoebel-Theuer
f5fae8e4ba light: show runtime connection status information 2013-04-12 08:26:25 +02:00
Thomas Schoebel-Theuer
c58417d271 all: move kernel source into separate directory 2013-04-08 17:01:37 +02:00