diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2012-06-18 09:46:01 (GMT) |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-07-24 12:10:41 (GMT) |
commit | 63a6d0bb3dd69afedb2b2952eb1d1e8340c11d0d (patch) | |
tree | 6c4a7b4f35345c1f409c3971899ffdd4be935fcc /fs/hostfs | |
parent | 0029d62434d9045bc3e8b2eb48ae696e30336e92 (diff) | |
download | linux-63a6d0bb3dd69afedb2b2952eb1d1e8340c11d0d.tar.xz |
drbd: call local-io-error handler early
In case we want to hard-reset from the local-io-error handler,
we need to call it before notifying the peer or aborting local IO.
Otherwise the peer will advance its data generation UUIDs even
if secondary.
This way, local io error looks like a "regular" node crash,
which reduces the number of different failure cases.
This may be useful in a bigger picture where crashed or otherwise
"misbehaving" nodes are automatically re-deployed.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions