commit | a5c31904350182b0138f0bd1cec9bc2c4296f71f | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruen@linbit.com> | Thu Mar 24 03:28:04 2011 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Nov 08 16:44:50 2012 +0100 |
tree | 195b8a392b89596c174da70b84a36b2aaf594486 | |
parent | 309a834896a4ab7dc762b7f8bb3ed1dd8153162c [diff] |
drbd: Introduce and use drbd_recv_all_warn() The pattern of receiving a fixed number of bytes and warning if a short packet is received and the receiver has not actively been interruped is repeated many times; clean that up. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>