Commit Graph

58 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
4f1e7ce362 if: adapt to new blk_queue_split() 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
35b246a9fc if: fix noidle condition 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
93d7ed2a3d if: adapt to BIO_THROTTLED 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
8ff8b9609c if: adapt to block layer changes 2019-12-25 09:19:08 +01:00
Thomas Schoebel-Theuer
4e087abc38 if: adapt to generic io accounting 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
d5f07017e1 if: adapt to upstream bi_status 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
9b55c64bb1 if: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
95550cb0c9 if: move and split compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
baf14f5b22 if: move and merge compat check with bio 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
873ae4de56 if: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
f11b7d680c if: move compat check 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
df9173225b if: remote trigger upon open/close 2019-12-25 09:17:56 +01:00
Thomas Schoebel-Theuer
791b604c5c if: fix race betweem flying_count and open_count 2019-11-26 07:05:06 +01:00
Thomas Schoebel-Theuer
9e415e75e9 if: move flying_count from input to brick instance 2019-11-26 07:05:06 +01:00
Thomas Schoebel-Theuer
5263e058ea if: less default throttling 2019-11-05 15:24:07 +01:00
Thomas Schoebel-Theuer
025ffbb09d Merge branch 'mars0.1.y' into mars0.1a.y 2019-03-06 07:25:43 +01:00
Thomas Schoebel-Theuer
6773712672 if: fix bio_get stack corruption when bio is on stack
I am unsure whether this might break compatibility to some
very ancient kernels.

AFAICR, it could have been needed long ago, when some old 32bit
kernels needed kmap().

Anyway, I don't have those old kernels anymore.
2019-03-02 22:14:14 +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
ce456788a4 if: propagate real physical and logical sector sizes 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
45d3ff4226 if: remember info 2019-02-12 11:02:06 +01:00
Thomas Schoebel-Theuer
ac0677fcb7 Merge branch 'mars0.1.y' into mars0.1a.y 2019-01-16 16:57:21 +01:00
Thomas Schoebel-Theuer
52b2cf2726 if: provisionary substitute for merge_bvec()
This might potentially worsen IO performance somewhat. Please report
any _reproducible_ issues, together with a reproducer.
2019-01-16 16:49:45 +01:00
Thomas Schoebel-Theuer
0db016a317 if: use blk_queue_max_hw_sectors() 2019-01-16 12:04:31 +01:00
Thomas Schoebel-Theuer
4f008ca001 if: introduce blk_queue_split
This is an absolute MUST for newer kernels, starting with 4.3.x.
2019-01-16 12:04:31 +01:00
Thomas Schoebel-Theuer
41cf70e288 if: show open_count in statistics 2017-07-05 14:15:41 +02:00
Thomas Schoebel-Theuer
84ff94faec if: pimp nr_requests 2017-04-11 09:20:31 +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
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
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
5f6c2a25fe if: move and enable blk_cleanup_queue() 2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
4d31d09534 all: remove CONFIG_MARS_BIGMODULE 2016-03-03 09:33:34 +01:00
Thomas Schoebel-Theuer
af6ac736c5 if: fix wrong error code ENOSYS 2015-10-07 10:44:44 +02:00
Thomas Schoebel-Theuer
a12450d891 if: fix potential race on plugged requests 2015-03-23 13:48:10 +01:00
Thomas Schoebel-Theuer
324f472889 if: fix potential race on shutdown 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
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
c621de770b all: improve checking of callback chain 2014-03-31 06:59:10 +02: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
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