drbd: Put sector and size in struct drbd_request into struct drbd_interval
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index c6d8200..d7678e8 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -682,6 +682,8 @@
drbd_work_cb cb;
};
+#include "drbd_interval.h"
+
struct drbd_request {
struct drbd_work w;
struct drbd_conf *mdev;
@@ -693,8 +695,7 @@
struct bio *private_bio;
struct hlist_node collision;
- sector_t sector;
- unsigned int size;
+ struct drbd_interval i;
unsigned int epoch; /* barrier_nr */
/* barrier_nr: used to check on "completion" whether this req was in