Commit Graph

27 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
0d1fe1a780 all: remove deprecated MARS_IO() debugging 2015-11-18 14:25:58 +01:00
Thomas Schoebel-Theuer
e133b7192b infra: move power led implementation to strategy layer
The interface must remain callable by each worker brick, but
the implementation belongs to the strategy layer (preparation for
MARS Full).
2015-11-18 13:59:14 +01:00
Thomas Schoebel-Theuer
75d7e1f158 infra: remove include dependency from _STRATEGY 2015-11-18 13:59:14 +01:00
Thomas Schoebel-Theuer
3b101d373a infra: remove GFP_MARS 2015-11-18 13:59:14 +01:00
Thomas Schoebel-Theuer
09bae2eb19 infra: remove deprecated brick_atomic.h 2015-11-18 13:59:14 +01:00
Thomas Schoebel-Theuer
4fd8543e4a infra: remove deprecated tracing 2015-11-18 13:59:14 +01:00
Thomas Schoebel-Theuer
d7dc817902 infra: start dual compatibility with/out prepatch
Automatic detection whether the prepatch is applied or not.
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
df8d5273c8 infra: fix LZO dependency for kernels 2.2 to 2.14 2015-06-30 16:02:12 +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
a18c956fa1 infra: move *_fake() to aio
This is no longer generic code.
It is only an internal kludge used by aio.
For kernel upstream, this to disappear.
2015-06-25 10:16:12 +02:00
Thomas Schoebel-Theuer
5d81381664 all: disallow sync IO during emergency mode 2015-02-11 15:20:26 +01:00
Thomas Schoebel-Theuer
aa09d7df30 all: clarify license GPLv2+ 2014-11-25 18:09:17 +01:00
Thomas Schoebel-Theuer
5e4753cffb infra: check CONFIG_SMP at out-of-tree builds 2014-06-18 12:10:55 +02:00
Thomas Schoebel-Theuer
d7e9f91b87 infra: disable DEBUG_SLAB
It leads to misaligned bios which are currently not yet handled by MARS.
TODO: implement unaligend IO and remove this again.
2014-06-18 12:10:55 +02:00
Thomas Schoebel-Theuer
8429aaf773 infra: turn off stack traces at errors 2014-03-19 11:44:58 +01:00
Thomas Schoebel-Theuer
9a8a4d7eb2 light: fix delete-resource forced dealloc 2014-02-03 15:07:45 +01:00
Thomas Schoebel-Theuer
9134be1a3e all: allow throttling of bulk write requests 2013-10-31 08:24:56 +01:00
Thomas Schoebel-Theuer
08b27c548e all: add lamport clock to all messages 2013-07-22 08:44:03 +02:00
Thomas Schoebel-Theuer
ea42d36a15 infra: check Kconfig prerequirements 2013-07-10 09:08:39 +02:00
Thomas Schoebel-Theuer
59d706ba54 infra: replace brick_version by kill_round 2013-06-03 09:05:46 +02:00
Thomas Schoebel-Theuer
5a5ea9bc52 infra: initialize IO transfer metadata correctly 2013-04-16 10:42:16 +02:00
Thomas Schoebel-Theuer
27fd43cb31 infra: remove obsolete black interface
The backing file should not be exposed from the brick blackbox.
2013-04-16 10:42:16 +02:00
Thomas Schoebel-Theuer
d1abe646a6 infra: improve tatomic debugging 2013-04-15 18:37:11 +02:00
Daniel Hermann
176be50435 all: preparations for out-of-tree build
- Makefile: Prepare for out-of-tree build
  - Define CONFIG_MARS_BIGMODULE if build out-of-tree
  - Adjusted target for buildtag.h generation
  - Added target for mars_config.h generation (depends on Kconfig)
  - Commits 949c64e 3e1d566 167dd73 rebased on eaba743
- Added script gen_config.pl to generate mars_config.h from Kconfig
  (Commits f373687 dc92c2f bf863f2 rebased on eaba743)
- Include mars_config.h in mars.h/brick.h/brick_say.h
  (Commits 6f14e02 8f1b7d6 rebased on eaba743)

Signed-off-by: Thomas Schoebel-Theuer <tst@1und1.de>
2013-04-11 11:01:25 +02:00
Thomas Schoebel-Theuer
795e931e1f all: make CONFIG_* constants tunable in /proc/sys/mars/ 2013-04-08 17:02:57 +02:00
Thomas Schoebel-Theuer
c58417d271 all: move kernel source into separate directory 2013-04-08 17:01:37 +02:00