diff options
| author | 2011-02-23 16:10:01 +0100 | |
|---|---|---|
| committer | 2011-10-14 16:48:04 +0200 | |
| commit | 3c13b680ce210313c6f7ad163435b62979958c09 (patch) | |
| tree | 16b2cf96f885d1b478980afd4544fabf60323d28 /include/linux/compiler-gcc3.h | |
| parent | drbd: default to detach on-io-error (diff) | |
| download | linux-dev-3c13b680ce210313c6f7ad163435b62979958c09.tar.xz linux-dev-3c13b680ce210313c6f7ad163435b62979958c09.zip | |
drbd: only wakeup if something changed in update_peer_seq
This commit got it wrong:
drbd: Make the peer_seq updating code more obvious
Make it more clear that update_peer_seq() is supposed to wake up the
seq_wait queue whenever the sequence number changes.
We don't need to wake up everytime we receive a sequence number
that is _different_ from our currently stored "newest" sequence number,
but only if we receive a sequence number _newer_ than what we already
have, when we actually change mdev->peer_seq.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/compiler-gcc3.h')
0 files changed, 0 insertions, 0 deletions
