drbd: get rid of drbd_bcast_ee, it is of no use anymore
authorLars Ellenberg <lars.ellenberg@linbit.com>
Mon, 7 Mar 2011 09:00:58 +0000 (10:00 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:48:08 +0000 (16:48 +0200)
commit3cb7a2a90fe35eb3059e8860d0c6917eb414f791
tree8fafdf47f324e714fcf54e782b4103ae389f9b30
parent569083c08dc16c043b4bdd473d41ff85a2b2df9e
drbd: get rid of drbd_bcast_ee, it is of no use anymore

This function was used to broadcast the (leading part of the)
bio payload in case we see a data integrity error.  It could be received
from userland with the drbdsetup events subcommand,
to have a peek into the payload that caused the checksum mismatch,
and guess from there what may have caused the mismatch,
mainly to guess wether it was modification of in-flight data,
or data corruption by broken hardware or software bugs.

Meanwhile we support bios that are larger than the maximum payload a
netlink datagram can carry.
And we have means to reliably detect modification of in-flight data by
calculating, and comparing, the checksum before and after sendmsg.
There is no need to carry this around anymore.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c