Thomas Schoebel-Theuer
b04db9a5ef
main: fix NULL pointer deref
...
Regression from e969219fca
2016-10-27 11:49:12 +02:00
Thomas Schoebel-Theuer
8bf599435c
all: release mars0.1stable32
2016-10-23 12:41:11 +02:00
Thomas Schoebel-Theuer
cc87a72637
if: fix merge_bvec_fn() regression for old kernels
2016-10-23 12:21:04 +02:00
Thomas Schoebel-Theuer
b6ef899ded
Revert "if: remove obsolete merge_bvec_fn()"
...
This reverts commit d96b6e3fbf
.
Altough newer kernels don't have this anymore, old kernels
need it.
Make it dependend from the kernel version.
2016-10-23 11:54:01 +02:00
Thomas Schoebel-Theuer
94d396524a
all: release mars0.1stable31
2016-08-25 15:39:06 +02:00
Thomas Schoebel-Theuer
d3e259c8c8
contrib: mars-dkms by Benjamin Kübler
2016-08-25 15:39:06 +02:00
Thomas Schoebel-Theuer
3dfb472aeb
infra: add minimum pre-petches for newer LTS kernels
2016-08-25 15:39:06 +02:00
Thomas Schoebel-Theuer
08b702f2f4
infra: rename pre-patches, better distinction
2016-08-25 15:39:06 +02:00
Thomas Schoebel-Theuer
d9f10d799b
infra: fix historic pre-patch for 2.6.32
2016-08-25 15:39:06 +02:00
Thomas Schoebel-Theuer
a92077dd5a
infra: use static inline for cpu_clock() (kernel 4.7)
...
Avoid compiler warnings caused by minor upstream changes
(2c923e94cd9c6acff3b22f0ae29cfe65e2658b40)
2016-08-25 15:39:06 +02:00
Thomas Schoebel-Theuer
0972d2b20d
infra: adapt to new crypto interface (kernel 4.6)
2016-08-25 15:39:06 +02:00
Thomas Schoebel-Theuer
d6e5b979ac
aio: adapt to changes in get_unused_fd()
...
Only relevant for the out-of-tree version.
The AIO stuff needs to be re-implemented anyway.
2016-08-25 15:39:06 +02:00
Thomas Schoebel-Theuer
bab7ba6300
if: adapt to kernel 4.4 BLK_QC_T_NONE
...
see dece16353ef47d8d33f5302bc158072a9d65e26f
2016-08-25 07:16:40 +02:00
Thomas Schoebel-Theuer
d96b6e3fbf
if: remove obsolete merge_bvec_fn()
2016-08-25 07:16:40 +02:00
Thomas Schoebel-Theuer
67977d7abf
if: adapt bio_endio() to kernel 4.3
2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
500ddbc97f
bio: adapt bio_endio() to kernel 4.3
2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
d04e8e23c4
if: adapt to renamed congestion handling (kernel 4.2)
2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
275cc2a195
if: adapt to missing bi_cnt (kernel 4.2)
2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
cf8ee66490
bio: adapt to missing BIO_EOPNOTSUPP (kernel 4.2)
2016-08-25 07:16:39 +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
5f6c2a25fe
if: move and enable blk_cleanup_queue()
2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
7d4dce3e27
infra: compatibility to new filldir_t
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
2ea01ece5f
proc: fix ctl_table conventions
2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
df7105dfe2
light: make lockdep happy
2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
93adf53ed1
all: release mars0.1stable30
2016-08-09 09:46:43 +02:00
Thomas Schoebel-Theuer
1c999e1c7e
doc: update version
2016-08-09 09:39:21 +02:00
Thomas Schoebel-Theuer
185b63070c
log-impex: provisionary compatibility
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
ef1be2ff1f
doc: clarify {fetch,replay,work}-lognr & friends
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
f048aec390
userspace: add example cronjob
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
2659864765
contrib: add sysv init script by Daniel Hermann
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
bb6b65a002
userspace: add basic systemd unit
...
First try. May need some improvements in future.
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
838c98ca6d
marsadm: systemantically missing macros *-logcount
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
d09cc8e218
marsadm: fix {replay,fetch,work}-lognr and replay-basenr
...
These were forgotten to export, and they were not systematic.
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
474d7d0a05
marsadm: fix wrong lognr result in corner case
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
6559c534be
marsadm: directly switch back to former primary
...
Use the new knowledge about old primary.
This is only relevant for people who are consistently ignoring
mars-manual.pdf which clearly states that intermediate
"marsadm secondary" should not be used at all, except for the
last step in final destruction of a resource.
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
79a1d20c69
marsadm: fix annoying perl warning
2016-08-09 09:37:10 +02:00
Thomas Schoebel-Theuer
3c244706a5
main: fix replay_code report in primary mode
...
After a primary --force, the error couldn't go away in case of
a defective logfile. Months later, sysadmins were needlessly alarmed
when looking at the primary.
2016-08-09 09:37:09 +02:00
Thomas Schoebel-Theuer
e969219fca
main: safeguard versionlink appearance
...
In some rare cases (e.g. damaged /mars or crashed primaries),
the versionlink belonging to a logfile may be missing.
Don't insist on the existence of a versionlink if the logfile is
stemming from myself (automatic self-repair).
2016-08-09 09:37:09 +02:00
Thomas Schoebel-Theuer
634499d3d2
all: testing of hangs
2016-08-09 09:37:09 +02:00
Thomas Schoebel-Theuer
90653476f6
all: crash testing hardening infrastructure
...
This is important for even more hardening of MARS.
Simulate crashes at the "wrong moment", typically with
IO requests flying, or just before a symlink update.
Only for debugging. Never use for production.
2016-08-09 09:34:19 +02:00
Thomas Schoebel-Theuer
401f87aeee
all: release mars0.1stable29
2016-03-09 09:51:28 +01:00
Thomas Schoebel-Theuer
748d373d43
doc: update version
2016-03-09 09:51:11 +01:00
Thomas Schoebel-Theuer
f89e0a7d96
marsadm: lowlevel IP address commands
...
This is absolutely necessary for coping with changes in network
setups.
2016-03-09 09:42:38 +01:00
Thomas Schoebel-Theuer
e7f41563f2
main: fix livelock at end of sync
...
Only observed on very fast hardware.
Leaving the loop may unnecessarily take a long time.
2016-03-08 11:37:41 +01:00
Thomas Schoebel-Theuer
04b2f2120e
Kbuild: fix external 1&1 build process
2016-03-03 12:42:41 +01:00
Thomas Schoebel-Theuer
669d73e602
all: release mars0.1stable28
2016-03-03 09:40:25 +01:00
Thomas Schoebel-Theuer
833a1cb524
doc: increment version number
2016-03-03 09:40:06 +01:00
Thomas Schoebel-Theuer
72deaee082
doc: describe removal of "Light"
2016-03-03 09:40:02 +01:00
Thomas Schoebel-Theuer
a5f8f3e464
main: rename mars_light.c to mars_main.c
2016-03-03 09:35:16 +01:00