summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-01-27 14:42:51 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-09-28 10:26:32 +0200
commit5e4722645afb27ee749ea65988544450f08f78ba (patch)
tree971a99c34a30e56a8406f86aa2b9f48a08504082 /drivers/block/drbd/drbd_int.h
parent53840641bb1feff8c08acdba9de4c0f8b8674df5 (diff)
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>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r--drivers/block/drbd/drbd_int.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 7922fa0403d..7fcda713714 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -1045,9 +1045,6 @@ struct drbd_conf {
struct list_head read_ee; /* IO in progress (any read) */
struct list_head net_ee; /* zero-copy network send in progress */
- /* Interval tree of pending remote write requests (struct drbd_epoch_entry) */
- struct rb_root epoch_entries;
-
/* this one is protected by ee_lock, single thread */
struct drbd_epoch_entry *last_write_w_barrier;