Commit Graph

209 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
175de82dcd infra: replace unwanted sys_unlink() by provisionary wrapper 2015-10-22 08:02:00 +02:00
Thomas Schoebel-Theuer
8b5891cf88 infra: remove unwanted sys_utimes() 2015-10-22 08:02:00 +02:00
Thomas Schoebel-Theuer
79beadc0aa infra: replace unwanted sys_rename() by provisionary wrapper 2015-10-22 08:02:00 +02:00
Thomas Schoebel-Theuer
95dfa6d5b5 infra: replace sys_mkdir() by vfs_mkdir() 2015-10-22 08:02:00 +02:00
Thomas Schoebel-Theuer
ceee169071 infra: replace sys_symlink() by vfs_symlink() 2015-10-22 08:01:59 +02:00
Thomas Schoebel-Theuer
2ed59e9752 infa: introduce wrapper layer for compatibiliy with multiple kernels
This is needed for adaptation of the out-of-tree MARS version to multiple
kernel versions.

It will be much simplified after upstream merging, and/or
removed/replaced by something better.
2015-10-22 08:01:59 +02:00
Thomas Schoebel-Theuer
a78ac85888 all: retire unwanted aio brick for external build
AIO needs to be vastly re-implemented later in a different way, when
integrated with kernel upstream.

For now, use SIO instead of AIO when building an externel kernel
module for a kernel without the (obsolete) prepatch.

For now, AIO is nevertheless used when MARS_MAJOR is present,
which can happen only at a pre-patched kernel.
2015-10-22 08:01:59 +02:00
Thomas Schoebel-Theuer
536897bd2c infra: remove unwanted reference to min_free_kbyte 2015-10-22 08:01:59 +02:00
Thomas Schoebel-Theuer
2b2c72cd06 infra: remove unwanted rmdir() 2015-10-22 08:01:59 +02:00
Thomas Schoebel-Theuer
9539b4f098 infra: remove unwanted lchown() 2015-10-22 08:01:59 +02:00
Thomas Schoebel-Theuer
f6fd0cf73a infra: remove unwanted chmod() 2015-10-22 08:01:59 +02:00
Thomas Schoebel-Theuer
530b90417f light: make lockdep happy 2015-10-22 08:01:58 +02:00
Thomas Schoebel-Theuer
d0d6bf5d1b infra: compatibility to new filldir_t 2015-10-22 08:01:58 +02:00
Thomas Schoebel-Theuer
7ffad98fe9 proc: fix ctl_table conventions 2015-10-22 08:01:58 +02:00
Thomas Schoebel-Theuer
bc6b2ea6a8 Merge branch 'light0.1.y' into light0.2.y 2015-10-22 07:26:37 +02:00
Thomas Schoebel-Theuer
444a60defa net: fix memory leak
This was introduced in 1ca8d711ff
2015-10-19 07:30:26 +02:00
Thomas Schoebel-Theuer
54d8433b21 light: fix spelling 2015-10-07 10:46:04 +02:00
Thomas Schoebel-Theuer
92720a1625 infra: add total statistics to limiter 2015-06-30 16:04:07 +02:00
Thomas Schoebel-Theuer
97f7dad3a4 net: use bind() for outgoing connects on multihomed hosts 2015-06-30 16:04:06 +02:00
Thomas Schoebel-Theuer
df8d5273c8 infra: fix LZO dependency for kernels 2.2 to 2.14 2015-06-30 16:02:12 +02:00
Thomas Schoebel-Theuer
e370551d9f net: compression of bulk data 2015-06-30 15:59:03 +02:00
Thomas Schoebel-Theuer
1ca8d711ff infra: TRANSITIONAL base hostname translation directly on symlinks
This is needed on modprobe when no dents already exist.
Long-term solution will be very different.
2015-06-29 14:49:10 +02:00
Thomas Schoebel-Theuer
225d85f4e3 net: TRANSITIONAL backwards compatibility with old protocol
THIS PATCH SHOULD BE REVERTED
as soon as upgrades from protocol version 0 to protocol version 1
have completed.

It is meant for transition
2015-06-29 14:49:10 +02:00
Thomas Schoebel-Theuer
6e7f8f9e46 net: make data transfer independent from register size and bytesex 2015-06-29 07:30:19 +02:00
Thomas Schoebel-Theuer
3a365fb92a client: implement socket bundling 2015-06-29 07:30:19 +02:00
Thomas Schoebel-Theuer
d1421a72bb all: remove deprecated CONFIG_MARS_DEBUG_DEFAULT 2015-06-25 12:15:14 +02:00
Thomas Schoebel-Theuer
20b3bd1932 all: remove CONFIG_MARS_{,HAVE_}BIGMODULE
It makes no sense to keep it.
2015-06-25 12:15:11 +02:00
Thomas Schoebel-Theuer
ea0b4d7aa2 infra: remove deprecated CONFIG_MARS_PREFER_SIO 2015-06-25 10:19:15 +02:00
Thomas Schoebel-Theuer
371defcdf8 infra: remove deprecated MARS_SHOW_CONNECTIONS 2015-06-25 10:07:10 +02:00
Thomas Schoebel-Theuer
f715dcbae1 server: remove deprecated loadavg quirk 2015-06-25 10:04:26 +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
876625d66a light: disallow modprobe when UUID is missing 2015-03-23 13:48:11 +01:00
Thomas Schoebel-Theuer
7f565f77b6 light: prohibit communication with wrong UUID 2015-03-06 11:49:54 +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
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
ce48d7031c all: fix hang of NotYetPrimary in lower emergency modes 2014-12-07 09:24:16 +01:00