summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorLars Ellenberg2010-08-11 21:21:50 +0200
committerPhilipp Reisner2010-10-14 18:38:18 +0200
commit1d7734a0df02ff5068ff8baa1447c7baee601db1 (patch)
tree2b01470ccd1523328c9e243801266aff9e2df391 /usr
parentdrbd: remove outdated comment and dead code (diff)
downloadkernel-qcow2-linux-1d7734a0df02ff5068ff8baa1447c7baee601db1.tar.gz
kernel-qcow2-linux-1d7734a0df02ff5068ff8baa1447c7baee601db1.tar.xz
kernel-qcow2-linux-1d7734a0df02ff5068ff8baa1447c7baee601db1.zip
drbd: use rolling marks for resync speed calculation
The current resync speed as displayed in /proc/drbd fluctuates a lot. Using an array of rolling marks makes this calculation much more stable. We used to have this (a long time ago with 0.7), but it got lost somehow. If "stalled", do not discard the rest of the information, just add a " (stalled)" tag to the progress line. This patch also shortens a spinlock critical section somewhat, and reduces the number of atomic operations in put_ldev. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions