summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_interval.h
Commit message (Collapse)AuthorAgeFilesLines
* drbd: Iterate over all overlapping intervals in a treeAndreas Gruenbacher2011-10-141-4/+12
| | | | | | | 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>
* drbd: _req_conflicts(): Get rid of the epoch_entries treeAndreas Gruenbacher2011-09-281-0/+1
| | | | | | | | | | 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>
* drbd: Allow to wait for the completion of an epoch entry as wellAndreas Gruenbacher2011-09-281-0/+1
| | | | | Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
* drbd: Use the read and write request trees for request lookupsAndreas Gruenbacher2011-08-291-2/+1Star
| | | | | Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
* drbd: Add interval tree data structureAndreas Gruenbacher2011-08-251-0/+31
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>