diff options
author | 2013-03-27 14:08:37 +0100 | |
---|---|---|
committer | 2013-03-28 10:10:24 -0600 | |
commit | 5c4f13d991e69cb715ddc2b6a9bbecead7b02c9e (patch) | |
tree | 53d73028d31415f615850f05193a21073da43725 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drbd: move invalidating the whole bitmap out of after_state ch() (diff) | |
download | linux-dev-5c4f13d991e69cb715ddc2b6a9bbecead7b02c9e.tar.xz linux-dev-5c4f13d991e69cb715ddc2b6a9bbecead7b02c9e.zip |
drbd: fix effective error returned when refusing an invalidate
Since commit
drbd: Disallow the peer_disk_state to be D_OUTDATED while connected
trying to invalidate a disconnected Primary returned an error code
that did not really match the situation:
"Refusing to be Outdated while Connected"
Insert two more specific conditions into is_valid_state(),
changing that to "Need access to UpToDate data",
respectively "Need a connection to start verify or resync".
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions