android_kernel_motorola_sm6225/drivers/block/drbd
Andreas Gruenbacher 0c8e36d9b8 drbd: Introduce protocol version 100 headers
The 8 byte header finally becomes too small. With the protocol 100 header we
have 16 bit for the volume number, proper 32 bit for the data length, and
32 bit for further extensions in the future.

Previous versions of drbd are using version 80 headers for all packets
short enough for protocol 80.  They support both header versions in
worker context, but only version 80 headers in asynchronous context.
For backwards compatibility, continue to use version 80 headers for
short packets before protocol version 100.

From protocol version 100 on, use the same header version for all
packets.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2012-11-08 16:45:10 +01:00
..
drbd_actlog.c drbd: improvements to activate/deactivate multiple activity log extents 2012-11-08 16:45:02 +01:00
drbd_bitmap.c drbd: introduce a bio_set to allocate housekeeping bios from 2011-10-14 16:48:06 +02:00
drbd_int.h drbd: Introduce protocol version 100 headers 2012-11-08 16:45:10 +01:00
drbd_interval.c drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_interval.h drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_main.c drbd: Introduce protocol version 100 headers 2012-11-08 16:45:10 +01:00
drbd_nl.c drbd: Introduce protocol version 100 headers 2012-11-08 16:45:10 +01:00
drbd_proc.c drbd: Renamed id_susp(union drbd_state s) to drbd_suspended(struct drbd_conf *) 2012-11-08 16:45:03 +01:00
drbd_receiver.c drbd: Introduce protocol version 100 headers 2012-11-08 16:45:10 +01:00
drbd_req.c drbd: Use tconn in request_timer_fn() 2012-11-08 16:45:07 +01:00
drbd_req.h drbd: Introduced a new type union drbd_dev_state 2012-11-08 16:45:04 +01:00
drbd_state.c drbd: Improved logging of state changes 2012-11-08 16:45:06 +01:00
drbd_state.h drbd: Improved logging of state changes 2012-11-08 16:45:06 +01:00
drbd_strings.c drbd: Allow volumes to become primary only on one side 2012-11-04 00:16:31 +01:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: Remove headers from on-the-wire data structures (struct p_*) 2012-11-08 16:45:09 +01:00
drbd_wrappers.h drbd: Rename drbd_endio_{pri,sec} -> drbd_{,peer_}request_endio 2011-10-14 16:47:36 +02:00
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: Moved the state functions into its own source file 2011-09-28 10:26:43 +02:00