diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-12-17 21:06:18 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 11:43:34 +0100 |
commit | f735e3635430c6d1c319664d82b34376e3f9aa17 (patch) | |
tree | c470f5ccd8536ad49778f842762042b75be2677e /drivers/block/drbd/drbd_main.c | |
parent | c88d65e2231dbae4b7cd0ad7b2a919857a1be171 (diff) | |
download | lwn-f735e3635430c6d1c319664d82b34376e3f9aa17.tar.gz lwn-f735e3635430c6d1c319664d82b34376e3f9aa17.zip |
drbd: add debugging assert to make sure the protocol is clean
We expect to only receive the recently introduced "set out of sync"
packets in specific states. If we receive them in different states, that
may confuse the resync process to the point where it won't terminate, or
think it made negative progress.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
0 files changed, 0 insertions, 0 deletions