Commit Graph

46 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
ea4fbc1885 all: remove superfluous dealloc tests and clears 2020-07-08 21:00:05 +02:00
Thomas Schoebel-Theuer
d87fb27473 all: deprecate mref_skip_sync 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
40e72f9e7d all: deprecate mref_rw and mref_may_write 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
2176f6ee13 bio: adapt to REQ_IDLE in place of NOIDLE 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
e2d37327cd bio: adapt to bio_set_dev 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
b4a1b6f900 bio: adapt to upstream bi_status 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
b2d3433b21 bio: fix REQ_SYNC usage 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
1dcd705e16 infra: adapt to block layer changes, kernel 4.11 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
39eaa78c58 all: new MARS_HAS naming conventions 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
0244c27a5d bio: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
d1dcca213f bio: move compat check 2019-12-25 09:19:06 +01:00
Thomas Schoebel-Theuer
3a397ac00e bio: move compat check 2019-12-25 09:19:06 +01:00
Thomas Schoebel-Theuer
3634da40b1 Merge branch 'mars0.1.y' into mars0.1a.y 2019-02-19 07:27:51 +01:00
Thomas Schoebel-Theuer
312660c598 all: adapt to block layer changes, kernel 4.8 2019-02-19 07:26:32 +01:00
Thomas Schoebel-Theuer
5ad1645de9 Merge branch 'mars0.1.y' into mars0.1a.y 2019-02-12 11:26:58 +01:00
Thomas Schoebel-Theuer
ee580d6aa8 bio: get real physical and logical sector sizes 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
426b67e811 Merge branch 'mars0.1.y' into mars0.1a.y 2018-11-26 11:38:26 +01:00
Thomas Schoebel-Theuer
879c3f5dfd bio: fix offset checking for debug kernels 2018-11-26 11:15:19 +01:00
Thomas Schoebel-Theuer
f1914c254a bio: safety check on destructor 2017-04-11 09:23:04 +02:00
Thomas Schoebel-Theuer
670dd01cb9 bio: make response thread instantiable 2017-04-11 09:23:04 +02:00
Thomas Schoebel-Theuer
3066473a31 bio: separate response thread data 2017-04-11 09:21:35 +02:00
Thomas Schoebel-Theuer
27be605623 bio: pimp nr_requests 2017-04-11 09:20:31 +02:00
Thomas Schoebel-Theuer
b7a770c91f bio: speedup submit_thread termination 2017-04-04 08:42:16 +02:00
Thomas Schoebel-Theuer
b17944a512 bio: speedup response_thread termination 2017-04-04 08:42:16 +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
cf8ee66490 bio: adapt to missing BIO_EOPNOTSUPP (kernel 4.2) 2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
634499d3d2 all: testing of hangs 2016-08-09 09:37:09 +02:00
Thomas Schoebel-Theuer
4d31d09534 all: remove CONFIG_MARS_BIGMODULE 2016-03-03 09:33:34 +01:00
Thomas Schoebel-Theuer
6eb5cefc19 infra: clean buffer cache on opening block devices 2015-06-17 11:33:18 +02:00
Thomas Schoebel-Theuer
c35065fe97 infra: report global IO hangs 2015-02-27 11:32:57 +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
4f936f0cd8 bio: fix invalid block allocations 2014-12-07 09:24:16 +01:00
Thomas Schoebel-Theuer
aa09d7df30 all: clarify license GPLv2+ 2014-11-25 18:09:17 +01:00
Thomas Schoebel-Theuer
2b2e07d24d bio: fix potential bvec overflow/corruption 2014-11-12 09:01:33 +01:00
Thomas Schoebel-Theuer
1e22d8b64e bio: fix thread termination 2014-11-12 09:01:32 +01:00
Thomas Schoebel-Theuer
1439d30ffb all: port to newer kernels (up to 3.15) 2014-06-18 12:10:55 +02:00
Thomas Schoebel-Theuer
7aebfdf6bb all: remove __exit annotation 2014-04-24 18:08:31 +02:00
Thomas Schoebel-Theuer
7e932641df bio: fix refcounting 2014-04-20 09:08:54 +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
be24c712e0 bio: fix usage of i_size_read() 2013-10-17 07:35:35 +02:00
Thomas Schoebel-Theuer
0c7bb9d00f if: fix bio flags for newer kernels
The old code was just bullshit.
2013-04-19 09:30:15 +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
7e2be30c57 bio: improve debugging 2013-04-15 18:37:12 +02:00
Thomas Schoebel-Theuer
c58417d271 all: move kernel source into separate directory 2013-04-08 17:01:37 +02:00