History log of /drivers/block/drbd/drbd_interval.h
Revision Date Author Comments
08d0dabf48ccf55e310b8ae9381858b477cabe2e 20-Mar-2014 Lars Ellenberg <lars.ellenberg@linbit.com> drbd: application writes may set-in-sync in protocol != C

If "dirty" blocks are written to during resync,
that brings them in-sync.

By explicitly requesting write-acks during resync even in protocol != C,
we now can actually respect this.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
d0e22a260c5142171c730436664febb045b9f0f0 17-Feb-2011 Andreas Gruenbacher <agruen@linbit.com> drbd: Iterate over all overlapping intervals in a tree

Add a macro and helper function for doing that.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
5e4722645afb27ee749ea65988544450f08f78ba 27-Jan-2011 Andreas Gruenbacher <agruen@linbit.com> drbd: _req_conflicts(): Get rid of the epoch_entries tree

Instead of keeping a separate tree for local and remote write requests
for finding requests and for conflict detection, use the same tree for
both purposes. Introduce a flag to allow distinguishing the two
possible types of entries in this tree.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
53840641bb1feff8c08acdba9de4c0f8b8674df5 28-Jan-2011 Andreas Gruenbacher <agruen@linbit.com> drbd: Allow to wait for the completion of an epoch entry as well

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
bc9c5c41181a84ad243639c79a10f621a97af44b 21-Jan-2011 Andreas Gruenbacher <agruen@linbit.com> drbd: Use the read and write request trees for request lookups

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
0939b0e5cdeeafa0adf0150edd350092e47acc49 03-Jan-2011 Andreas Gruenbacher <agruen@linbit.com> drbd: Add interval tree data structure

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>