summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_wrappers.h
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2012-07-30 09:11:01 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:58:40 +0100
commit6f1a656325ea01638de44f8d40bb77c73181b275 (patch)
tree71de4b2fed373c3b6cff6f24f5ea91441e14b1fc /drivers/block/drbd/drbd_wrappers.h
parenta324896b173e569fb831c5caa04ccd02ec0bc9ca (diff)
downloadblackbird-obmc-linux-6f1a656325ea01638de44f8d40bb77c73181b275.tar.gz
blackbird-obmc-linux-6f1a656325ea01638de44f8d40bb77c73181b275.zip
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 'drivers/block/drbd/drbd_wrappers.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud