Commit Graph

397 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
b772878be6 bio: use multiple response threads 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
84ff94faec if: pimp nr_requests 2017-04-11 09:20:31 +02:00
Thomas Schoebel-Theuer
27be605623 bio: pimp nr_requests 2017-04-11 09:20:31 +02:00
Thomas Schoebel-Theuer
5a06fd26ab copy: globally limit IO parallelism 2017-04-11 09:18:30 +02:00
Thomas Schoebel-Theuer
71bc90cc71 copy: make fly limitation global 2017-04-11 09:18:30 +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
ccf3c1b944 infra: increase say IDs 2017-04-04 08:42:16 +02:00
Thomas Schoebel-Theuer
94dcded654 main: earlier syncstatus update 2017-04-04 08:42:16 +02:00
Thomas Schoebel-Theuer
2e58ffadc1 main: introduce updater function at the right place
Updates must take place _before_ a copy is switched off.
2017-04-04 08:42:09 +02:00
Thomas Schoebel-Theuer
b7bd757d99 client: dont try get_info when brick isnt working 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
4805d25cad client: adapt timeout at get_info 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
378cf8035f main: earlier shutdown on rmmod
This is important when the network hangs.
2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
4934871905 cient: shut down socket before stopping thread 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
ec9e4cd536 client: earlier stop sender thread 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
f84cf05316 client: earlier send stop on shutdown 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
342e5e40a5 copy: allow stopping in parallel 2017-04-04 08:38:16 +02:00
Thomas Schoebel-Theuer
afe2513c21 infra: shutdown bricks in parallel 2017-04-04 08:38:15 +02:00
Thomas Schoebel-Theuer
9438c99647 client: adapt socket aborts to io_timeout 2017-04-04 08:38:15 +02:00
Thomas Schoebel-Theuer
c0da3f50fe main: safeguard forceful killing 2017-04-04 08:38:15 +02:00
Thomas Schoebel-Theuer
994ae64b92 main: fix sequential wait upon shutdown
Instead, switch off all resources in parallel without waiting for
each shutdown.
2017-04-04 08:38:15 +02:00
Thomas Schoebel-Theuer
ea57a4e898 Merge branch 'mars0.1.y' into mars0.1b.y 2017-04-04 08:37:05 +02:00
Thomas Schoebel-Theuer
d1988b3d7c copy: leave lifelock when EOF position decreases 2017-04-04 08:03:09 +02:00
Thomas Schoebel-Theuer
85ca001f9f copy: remove obsolete variable 2017-04-04 07:45:46 +02:00
Thomas Schoebel-Theuer
7f7b6b99a7 main: new simple sync parallelism limit
Hopefully this code is now "obviously correct"
2017-02-20 15:29:28 +01:00
Thomas Schoebel-Theuer
c3f931f660 main: remove obsolete 1&1-specific sync feature 2017-02-20 15:29:28 +01:00
Thomas Schoebel-Theuer
84a9273080 main: fix detection of logfile sequence holes 2017-02-16 07:21:09 +01:00
Thomas Schoebel-Theuer
1f11a21f53 aio: decrease context table 2017-02-09 10:13:31 +01:00
Thomas Schoebel-Theuer
1b46726241 main: avoid flipping of syncstatus update 2017-02-09 10:13:21 +01:00
Thomas Schoebel-Theuer
d726df70f3 client: correct timeout error code 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
f62a090575 copy: safeguard power_led_off 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
d897f9060e infra: fix forced shutdown of bricks 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
bb89cf0dbb infra: show brick creation timestamp in debuglogs 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
7bdf6ed6c2 infra: show additional variable in debug log 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
1080474ecc all: use new wrapper 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
e370af69e1 infra: use new wrapper 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
0c76f0f1fd infra: wrapper for generic_{dis,}connect with locking 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
f0381455cb logger: increase position update frequency 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
fec2264766 main: fix unintended reset of syncstatus 2017-01-25 09:30:52 +01:00
Thomas Schoebel-Theuer
300881a308 main: dont reset copy start_pos on network errors 2017-01-24 11:36:26 +01:00
Thomas Schoebel-Theuer
4e80236400 main: fix hang at rmmod 2017-01-24 11:36:26 +01:00
Thomas Schoebel-Theuer
b04db9a5ef main: fix NULL pointer deref
Regression from e969219fca
2016-10-27 11:49:12 +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
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