Thomas Schoebel-Theuer
eacbac7dea
light: fix bad terminology copy_* -> fetch_*
2014-02-04 07:53:33 +01:00
Thomas Schoebel-Theuer
bebcc10fc2
light: shotdown mode, delay re-creation of resource
2014-02-04 07:51:37 +01:00
Thomas Schoebel-Theuer
2eb8162a05
light: fix wrong kill of if_brick
2014-02-03 15:07:46 +01:00
Thomas Schoebel-Theuer
31f3b64ea0
light: fix bad cleanup dependencies
2014-02-03 15:07:45 +01:00
Thomas Schoebel-Theuer
dbcbf9f782
light: make trans_logger destructable by symlink removal
2014-02-03 15:07:45 +01:00
Thomas Schoebel-Theuer
9a8a4d7eb2
light: fix delete-resource forced dealloc
2014-02-03 15:07:45 +01:00
Thomas Schoebel-Theuer
ff7d78a8cc
light: fix removal of deletion markers
2014-02-03 15:07:45 +01:00
Thomas Schoebel-Theuer
178637f5e6
light: force shutdown of fetch upon {disonnect,detach}
2014-02-03 15:07:45 +01:00
Thomas Schoebel-Theuer
cae1b747b1
light: fix stopping of fetch when remote logfile went away
2014-02-03 15:07:45 +01:00
Thomas Schoebel-Theuer
6e54fa1e5e
light: fix peer association of fetch
2014-02-03 15:07:45 +01:00
Thomas Schoebel-Theuer
4e17138003
light: make detach/down more robust against following commands
...
Immediately stop syncing when rource should go down.
2014-02-03 15:07:44 +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
8309fb97e6
light: add peer abort
2014-02-03 15:06:35 +01:00
Thomas Schoebel-Theuer
7be31c47f4
net: add {send,recv}_abort count
...
TCP_KEEPALIVE does not work well in the presence of long-blocking
socket operations.
This quirk allows for software aborts after a configurable number of
sk_{snd,rcv}timeo events.
2014-02-03 15:06:35 +01:00
Thomas Schoebel-Theuer
b60b0887e8
net: disable MSG_DONTWAIT
2014-02-03 15:06:35 +01:00
Thomas Schoebel-Theuer
2bdc298224
net: reduce tcp idle timeout
2014-02-03 15:06:35 +01:00
Thomas Schoebel-Theuer
62d9dd371a
net: allow tcp tuning via /proc/sys/mars/tcp_tuning/
2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
7ad628a725
light: create detailed warn message in userspace
2014-02-03 15:06:34 +01:00
Thomas Schoebel-Theuer
4dd4118f31
light: prevent logfile fetching on primaries and behind split brains
...
Save space in /mars/ by not fetching useless logfiles.
2014-01-23 11:56:36 +01:00
Thomas Schoebel-Theuer
0ad20e54c8
light: prevent races between deletions and re-erected objects
2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
216ecbffde
marsadm: prevent mutual overwrite of delete symlinks
...
Add an (unused) host context. Previously, concurrent
log-delete operations triggered by cron could lead to
unnecessary loss of deletetion symlinks.
2014-01-23 11:56:35 +01:00
Thomas Schoebel-Theuer
64a02e6ed8
light: fix logfile fetch after leave-resource && join-resource
2014-01-23 11:56:34 +01:00
Thomas Schoebel-Theuer
a7756947b8
light: enable logfile fetch debugging
2014-01-23 11:56:34 +01:00
Thomas Schoebel-Theuer
561a9b4c25
light: always use designated primary as sync source
2014-01-23 10:25:27 +01:00
Thomas Schoebel-Theuer
2c8b72e5e3
light: fix use of wrong logfile after primary --force
2014-01-23 10:25:27 +01:00
Thomas Schoebel-Theuer
fc436cf684
light: fix endless creation of holes in emergency mode
2014-01-17 07:40:04 +01:00
Thomas Schoebel-Theuer
1d52efb880
brick_mem: improve debugging messages
2013-12-05 08:08:57 +01:00
Thomas Schoebel-Theuer
ff2b4337ea
infra: show version tags in /proc/sys/mars/version
2013-12-05 08:08:26 +01:00
Thomas Schoebel-Theuer
eb9aebc3ae
infra: fix delay computation in limiter
2013-11-21 07:20:01 +01:00
Thomas Schoebel-Theuer
fd30cd6b44
infra: show ops count in limiter
2013-11-21 07:20:01 +01:00
Thomas Schoebel-Theuer
af418eb9f0
infra: make limiter {min,max}_window configurable
2013-11-21 07:20:00 +01:00
Thomas Schoebel-Theuer
8b74dddc24
infra: fix limiter overflow in denominator
2013-11-21 07:20:00 +01:00
Thomas Schoebel-Theuer
8696e417db
infra: make limiter max_delay settable
2013-11-21 07:20:00 +01:00
Thomas Schoebel-Theuer
606528768f
if: fix amount of throttling
2013-11-20 11:54:14 +01:00
Thomas Schoebel-Theuer
6579393177
light: rename throttling parameters and defaults
2013-11-20 11:13:57 +01:00
Thomas Schoebel-Theuer
65bdee3b08
infra: show cumulatives in all limiters
2013-11-19 12:22:45 +01:00
Frank Liepold
871e3994db
light: fix throttling calculation of request sizes
...
Signed-off-by: Thomas Schoebel-Theuer <schoebel@bell.site>
2013-11-19 11:44:15 +01:00
Thomas Schoebel-Theuer
3b0a78803d
sio: remove non-working kmap()
2013-11-05 13:02:35 +01:00
Thomas Schoebel-Theuer
232349e544
if: remove non-working kmap()
2013-11-05 12:31:34 +01:00
Thomas Schoebel-Theuer
9134be1a3e
all: allow throttling of bulk write requests
2013-10-31 08:24:56 +01:00
Thomas Schoebel-Theuer
0a8292cb80
if: add diskstats
2013-10-31 08:02:09 +01:00
Frank Liepold
c832799910
light: allow logfiles not to be consecutive on secondary site
...
If there are holes in the logfile sequence and this holes concern only logfiles
which are already applied (i.e. logfiles lying before all replay links)
the secondary can continue working.
Warnings are written as long as the situation exists.
Signed-off-by: Thomas Schoebel-Theuer <tst@1und1.de>
2013-10-22 09:39:22 +02:00
Frank Liepold
675e46d689
light: report next logfile to be copyable in case of logfile sequence holes
...
Up to now holes in the logfile sequence caused the copy process to stop after
having fetched the last logfile before the hole.
E.g. in emergency mode such holes are created intentionally on the primary
side. After the situation has been cleaned up, the secondary must be able to
fetch newly created logfiles.
Signed-off-by: Thomas Schoebel-Theuer <tst@1und1.de>
2013-10-22 09:38:17 +02:00
Thomas Schoebel-Theuer
915f955333
light: fix copy_next_is_available propagation
2013-10-17 14:49:41 +02:00
Thomas Schoebel-Theuer
35b9345d94
server: fix socket shutdown in error path
2013-10-17 07:48:32 +02: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
7a2755a56f
light: prevent races on device size
2013-10-17 07:48:32 +02:00
Thomas Schoebel-Theuer
ffc97c5c68
if: fix set_capacity()
2013-10-17 07:48:31 +02:00
Thomas Schoebel-Theuer
be24c712e0
bio: fix usage of i_size_read()
2013-10-17 07:35:35 +02:00
Thomas Schoebel-Theuer
8971edad18
if: set capacity upon regular switch() maintenance
2013-10-17 07:35:34 +02:00