summaryrefslogtreecommitdiffstats
path: root/lib/random32.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2013-03-27 14:08:36 +0100
committerJens Axboe <axboe@kernel.dk>2013-03-28 10:10:24 -0600
commit9376d9f8b97f20df5d30c83713652c3118b31534 (patch)
tree279e6afef66121afe7dc86564fb3249ae7b36ab8 /lib/random32.c
parenta700471bf335965e7603273fd51034415553246a (diff)
downloadblackbird-op-linux-9376d9f8b97f20df5d30c83713652c3118b31534.tar.gz
blackbird-op-linux-9376d9f8b97f20df5d30c83713652c3118b31534.zip
drbd: move invalidating the whole bitmap out of after_state ch()
To avoid other state change requests, after passing through sanitize_state(), to be mistaken for an invalidate, move the "set all bits as out-of-sync" into the invalidate path. Make invalidate and invalidate-remote behave consistently wrt. current connection state (need either an established replication link, or really be disconnected). Also mention that in the documentation. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud