Commit Graph

300 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer c6235c71d5 aio: fix race on shutdown 2015-07-15 10:38:49 +02:00
Thomas Schoebel-Theuer 550d02935e sio: fix race on shutdown 2015-07-15 10:38:49 +02:00
Thomas Schoebel-Theuer 91f458fe66 sio: convert to new mapfree infrastructure 2015-07-15 10:38:49 +02:00
Thomas Schoebel-Theuer c39a2988b7 light: fix long-lasting switchoff at end of sync 2015-06-17 11:33:27 +02:00
Thomas Schoebel-Theuer 4ecd6937c7 light: don't try fetching from (none) 2015-06-17 11:33:27 +02:00
Thomas Schoebel-Theuer 6eb5cefc19 infra: clean buffer cache on opening block devices 2015-06-17 11:33:18 +02:00
Thomas Schoebel-Theuer 7cbb705882 logger: safeguard endio() calling conventions 2015-05-05 08:46:28 +02:00
Thomas Schoebel-Theuer 18f1ae84f3 logger: fix race on completion refcount 2015-05-05 08:46:28 +02:00
Thomas Schoebel-Theuer 876625d66a light: disallow modprobe when UUID is missing 2015-03-23 13:48:11 +01:00
Thomas Schoebel-Theuer 9cb5b54cdc infra: remove outdated code 2015-03-23 13:48:11 +01:00
Thomas Schoebel-Theuer 7d66938666 aio: fix portability to changed kernels / kthread implementation
In the long term, mars_aio will be replaced anyway because it
uses userspace concepts like ioctx.

Don't use the internal kthread_stop_nowait() anymore.
It is too cumbersome to catch up with upstream development.
2015-03-23 13:48:10 +01:00
Thomas Schoebel-Theuer 77714f374e aio: safeguard ioctx 2015-03-23 13:48:10 +01:00
Thomas Schoebel-Theuer a12450d891 if: fix potential race on plugged requests 2015-03-23 13:48:10 +01:00
Thomas Schoebel-Theuer 7f565f77b6 light: prohibit communication with wrong UUID 2015-03-06 11:49:54 +01:00
Thomas Schoebel-Theuer a1d7faa2fe infra: safeguard mapfree pointers 2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer 7ced30b24c infra: report peak IO latencies 2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer c35065fe97 infra: report global IO hangs 2015-02-27 11:32:57 +01:00
Thomas Schoebel-Theuer c1823bbfab light: report actually running buildtag 2015-02-27 11:32:56 +01:00
Thomas Schoebel-Theuer 736489eccd light: suppress irrelevant warning 2015-02-24 15:51:28 +01:00
Thomas Schoebel-Theuer 036953fa54 light: provisionary allow fetch during detach 2015-02-24 15:51:28 +01:00
Thomas Schoebel-Theuer 0453fbae9b light: fix race on rmmod 2015-02-24 15:51:27 +01:00
Thomas Schoebel-Theuer f10e7358ad light: stop syncing upon logfile holes 2015-02-24 15:51:26 +01:00
Thomas Schoebel-Theuer 827b5b5192 light: fix syncpos indication of inconsistency 2015-02-24 12:08:41 +01:00
Thomas Schoebel-Theuer c03fc47539 light: fix start of sync 2015-02-24 12:08:41 +01:00
Thomas Schoebel-Theuer 0c38493e13 light: add hysteresis to emergency revovery 2015-02-24 12:08:39 +01:00
Thomas Schoebel-Theuer 092201decc light: less side effects by emergency mode 2015-02-24 11:15:29 +01:00
Thomas Schoebel-Theuer c81ad56480 copy: reset copy area upon consistency errors 2015-02-24 09:19:46 +01:00
Thomas Schoebel-Theuer 5d81381664 all: disallow sync IO during emergency mode 2015-02-11 15:20:26 +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 802cc73b49 infra: additionally safeguard race on brick resource deallocation 2015-01-19 18:01:04 +01:00
Thomas Schoebel-Theuer fa49247b8e infra: fix stale dents 2015-01-19 18:01:04 +01:00
Thomas Schoebel-Theuer 85658c8157 net: speakyness add dump_meta() 2014-12-09 14:31:42 +01:00
Thomas Schoebel-Theuer ce48d7031c all: fix hang of NotYetPrimary in lower emergency modes 2014-12-07 09:24:16 +01:00
Thomas Schoebel-Theuer 7366cb9dad light: fix leave-cluster communication 2014-12-07 09:24:16 +01:00
Thomas Schoebel-Theuer 28c8575cc0 light: fix becoming primary during split brain
Always prefer the own logfile if one exists.
This should improve becoming in most split brain situations.
2014-12-07 09:24:16 +01:00
Thomas Schoebel-Theuer 4f936f0cd8 bio: fix invalid block allocations 2014-12-07 09:24:16 +01:00
Thomas Schoebel-Theuer 324f472889 if: fix potential race on shutdown 2014-12-07 09:24:16 +01:00
Thomas Schoebel-Theuer c0a9790149 server: fix wrong sharing of brick lists 2014-12-07 09:24:13 +01:00
Thomas Schoebel-Theuer 8969436177 server: fix protocol error 2014-12-07 09:19:37 +01:00
Thomas Schoebel-Theuer e4d2567eed client: fix communication protocol error 2014-12-07 09:16:49 +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 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 5fb9fc03d3 net: fix unnecessary socket shutdown on nonblocking connects 2014-11-12 09:01:34 +01:00
Thomas Schoebel-Theuer 843a931cae light: fix zero progress of rate display 2014-11-12 09:01:33 +01:00
Thomas Schoebel-Theuer 547cc60a72 light: fix long-lasting pause-fetch effect 2014-11-12 09:01:33 +01:00
Thomas Schoebel-Theuer f6cca5ca72 light: fix copy switch off 2014-11-12 09:01:33 +01:00