Thomas Schoebel-Theuer
b2cf8686de
infra: use new mapfree dirtifying
2017-12-10 20:54:27 +01:00
Thomas Schoebel-Theuer
42543656dc
main: auto logrotate on small /mars
2017-10-23 17:07:41 +02:00
Thomas Schoebel-Theuer
dedf7f3cdc
main: fix writeback overflow when /mars has less space than RAM
...
Observed at Arsys prototype testing.
Thanks to Andoni Ayala for the problem report.
2017-10-23 16:43:28 +02:00
Thomas Schoebel-Theuer
9025283608
server: handler limit
2017-09-07 12:56:23 +02:00
Thomas Schoebel-Theuer
2d26b3d224
server: dent limit
2017-09-07 12:55:40 +02:00
Thomas Schoebel-Theuer
c0dfbde8a8
infra: fix mem leak from merge error
2017-09-05 11:23:44 +02:00
Thomas Schoebel-Theuer
3d2811c719
main: fix deadlock on uuid at leave-cluster
...
Similar to before:
root@m0:~# cat /proc/2642/stack
[<ffffffff810591cc>] kthread_stop+0x7f/0x10d
[<ffffffffa0172033>] _kill_peer.isra.7+0xf9/0x1ea [mars]
[<ffffffffa0172180>] peer_destruct+0xe/0x10 [mars]
[<ffffffffa016866a>] mars_free_dent+0x188/0x1b4 [mars]
[<ffffffffa0168a5a>] mars_dent_work+0x3c4/0x563 [mars]
[<ffffffffa0171265>] _main_thread+0x2b2/0x88d [mars]
[<ffffffff81059145>] kthread+0xb5/0xbd
[<ffffffff81660a19>] ret_from_fork+0x49/0x80
[<ffffffffffffffff>] 0xffffffffffffffff
root@m0:~# cat /proc/4282/stack
[<ffffffff81342154>] call_rwsem_down_read_failed+0x14/0x30
[<ffffffffa0166554>] mars_find_dent+0x19/0x3d [mars]
[<ffffffffa0172a30>] peer_thread+0x8ae/0xdc0 [mars]
[<ffffffff81059145>] kthread+0xb5/0xbd
[<ffffffff81660a19>] ret_from_fork+0x49/0x80
[<ffffffffffffffff>] 0xffffffffffffffff
2017-09-01 20:14:36 +02:00
Thomas Schoebel-Theuer
6c56b53850
infra: fix deadlock on leave-cluster & friends
...
root@m1:~# cat /proc/2661/stack
[<ffffffff810591cc>] kthread_stop+0x7f/0x10d
[<ffffffffa01660a5>] _kill_peer.isra.7+0xf9/0x1ea [mars]
[<ffffffffa01661f2>] peer_destruct+0xe/0x10 [mars]
[<ffffffffa015c66a>] mars_free_dent+0x188/0x1b4 [mars]
[<ffffffffa015ca5a>] mars_dent_work+0x3c4/0x563 [mars]
[<ffffffffa01652d7>] _main_thread+0x2b2/0x88d [mars]
[<ffffffff81059145>] kthread+0xb5/0xbd
[<ffffffff81660a19>] ret_from_fork+0x49/0x80
[<ffffffffffffffff>] 0xffffffffffffffff
root@m1:~# cat /proc/4473/stack
[<ffffffff81342154>] call_rwsem_down_read_failed+0x14/0x30
[<ffffffffa015a554>] mars_find_dent+0x19/0x3d [mars]
[<ffffffffa015dadc>] _mars_translate_hostname+0x86/0x126 [mars]
[<ffffffffa0166663>] peer_thread+0x46f/0xdc0 [mars]
[<ffffffff81059145>] kthread+0xb5/0xbd
[<ffffffff81660a19>] ret_from_fork+0x49/0x80
[<ffffffffffffffff>] 0xffffffffffffffff
2017-09-01 20:03:48 +02:00
Thomas Schoebel-Theuer
1e13c9e7ae
all: document some deadlock danger on debug output
2017-08-29 18:53:24 +02:00
Thomas Schoebel-Theuer
45005f25c9
main: fix is_attached
2017-08-29 18:40:30 +02:00
Thomas Schoebel-Theuer
5b41b2fb84
infra: regularly prune the /mars dentry cache
2017-08-25 15:07:59 +02:00
Thomas Schoebel-Theuer
de8abf0284
main: report is-detached only when bio is gone
2017-08-21 21:16:37 +02:00
Thomas Schoebel-Theuer
68016194bc
main: report is-detached for damaged resources
2017-08-21 21:16:36 +02:00
Thomas Schoebel-Theuer
45f9440842
main: protect rot list by rwsem
2017-07-26 11:08:56 +02:00
Thomas Schoebel-Theuer
3d9bbcb23c
main: check alive link timestamp instead of tree version
...
The tree version might be updated less frequently.
2017-07-26 11:08:12 +02:00
Thomas Schoebel-Theuer
cf84aeba9f
main: avoid fetch from failed peer for a while
2017-07-26 10:27:04 +02:00
Thomas Schoebel-Theuer
881f61bfcc
main: fix abort of logfile fetching
2017-07-26 10:00:51 +02:00
Thomas Schoebel-Theuer
27eb38ff3e
infra: add total statistics to limiter
2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
a983bf42de
main: show peer debuginfo
2017-07-05 07:37:12 +02:00
Thomas Schoebel-Theuer
d976fde7fb
main: replace peer_lock spinlock by rwsem
2017-07-05 07:37:12 +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
95d10d02a2
main: disable irqs during spinlocks
2017-05-16 10:21:31 +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
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
d1988b3d7c
copy: leave lifelock when EOF position decreases
2017-04-04 08:03:09 +02:00
Thomas Schoebel-Theuer
84a9273080
main: fix detection of logfile sequence holes
2017-02-16 07:21:09 +01:00
Thomas Schoebel-Theuer
1b46726241
main: avoid flipping of syncstatus update
2017-02-09 10:13:21 +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
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
7d4dce3e27
infra: compatibility to new filldir_t
2016-08-25 07:16:39 +02:00
Thomas Schoebel-Theuer
2ea01ece5f
proc: fix ctl_table conventions
2016-08-25 07:16:39 +02:00