diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2012-06-14 15:19:26 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-07-24 14:07:48 +0200 |
commit | 88437879fbd0ac5cde3f683f8eee455bbf83aaac (patch) | |
tree | fe9c271b08c3bf88cabd8c6f3933ae7938ebb779 /lib/atomic64.c | |
parent | drbd: report congestion if we are waiting for some userland callback (diff) | |
download | linux-88437879fbd0ac5cde3f683f8eee455bbf83aaac.tar.xz linux-88437879fbd0ac5cde3f683f8eee455bbf83aaac.zip |
drbd: reset congestion information before reporting it in /proc/drbd
We cache the congestion status in mdev->congestion_reason whenever
drbd_congested() was called.
Reset this cached info before reporting it when reading /proc/drbd.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions