Commit Graph

397 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
57c9da1800 aio: fix race on array index 2017-06-04 17:56:46 +02:00
Thomas Schoebel-Theuer
0fafba3cd0 infra: better debugging 2017-05-22 11:25:00 +02:00
Thomas Schoebel-Theuer
d12b20ef1c main: fix hang of fetch 2017-05-22 11:25:00 +02:00
Thomas Schoebel-Theuer
fd72fef4c9 infra: fix signal handling 2017-05-22 11:25:00 +02:00
Thomas Schoebel-Theuer
088b103abf infra: avoid frequent resched 2017-05-17 12:22:29 +02:00
Thomas Schoebel-Theuer
17832cd7ea infra: generally disable irqs during spinlocks 2017-05-16 10:24:18 +02:00
Thomas Schoebel-Theuer
2d7f602a32 aio: disable irqs during spinlocks 2017-05-16 10:23:06 +02:00
Thomas Schoebel-Theuer
95d10d02a2 main: disable irqs during spinlocks 2017-05-16 10:21:31 +02:00
Thomas Schoebel-Theuer
386ae8e8d0 infra: disable irqs during spinlocks 2017-05-16 10:17:19 +02:00
Thomas Schoebel-Theuer
95ff42b7de logger: disable irqs during spinlocks 2017-05-16 10:17:02 +02:00
Thomas Schoebel-Theuer
bb2f82503c infra: memory debugging must disable irqs during spinlocks 2017-05-16 09:59:44 +02:00
Thomas Schoebel-Theuer
37f738bb5c aio: workaround standard Unix filehandles 2017-05-14 16:57:01 +02:00
Thomas Schoebel-Theuer
f129ae00e9 infra: modinfo shows io driver type 2017-05-09 08:52:48 +02:00
Thomas Schoebel-Theuer
8abf1a0928 infra: modinfo shows whether prepatch is used 2017-05-09 08:52:48 +02:00
Thomas Schoebel-Theuer
a1d4497a51 infra: remove unwanted sys_utimes() 2017-05-04 10:32:50 +02:00
Thomas Schoebel-Theuer
09c6b3112c infra: replace unwanted sys_unlink() by provisionary wrapper 2017-05-04 10:28:43 +02:00
Thomas Schoebel-Theuer
b3b13d9187 infra: replace unwanted sys_rename() by provisionary wrapper 2017-05-04 10:08:29 +02:00
Thomas Schoebel-Theuer
c4b055584c infra: replace sys_mkdir() by vfs_mkdir() 2017-05-04 10:08:29 +02:00
Thomas Schoebel-Theuer
8fe84d32d8 infra: replace sys_symlink() by vfs_symlink() 2017-05-04 10:08:29 +02:00
Thomas Schoebel-Theuer
05a5b49aed infra: remove unwanted reference to min_free_kbyte 2017-05-04 10:08:07 +02:00
Thomas Schoebel-Theuer
b9383da97c infra: remove unwanted rmdir() 2017-05-04 10:04:12 +02:00
Thomas Schoebel-Theuer
ac2c901943 infra: remove unwanted chmod() 2017-05-04 10:04:02 +02:00
Thomas Schoebel-Theuer
f654129e94 compat: disable aio when necessary 2017-05-04 09:16:17 +02:00
Thomas Schoebel-Theuer
0c714a8bfc infra: start dual compatibility with/out prepatch
Automatic detection whether the prepatch is applied or not.
2017-05-04 09:10:44 +02:00
Thomas Schoebel-Theuer
eaa6fc0efc 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.
2017-05-04 09:09:19 +02:00
Thomas Schoebel-Theuer
79c7ffe9d4 infra: only allow compilation as a module 2017-05-04 06:14:02 +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
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