aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_interval.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-01-28 04:31:04 -0500
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-09-28 04:26:31 -0400
commit53840641bb1feff8c08acdba9de4c0f8b8674df5 (patch)
tree4a0eb7966272182b417a9a94f1c5423bcb1fd663 /drivers/block/drbd/drbd_interval.h
parent3e05146f0a9f28ef5959403eabf3239869476315 (diff)
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>
Diffstat (limited to 'drivers/block/drbd/drbd_interval.h')
-rw-r--r--drivers/block/drbd/drbd_interval.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_interval.h b/drivers/block/drbd/drbd_interval.h
index a847b4a07b25..9d1e5eb2d7eb 100644
--- a/drivers/block/drbd/drbd_interval.h
+++ b/drivers/block/drbd/drbd_interval.h
@@ -9,6 +9,7 @@ struct drbd_interval {
9 sector_t sector; /* start sector of the interval */ 9 sector_t sector; /* start sector of the interval */
10 unsigned int size; /* size in bytes */ 10 unsigned int size; /* size in bytes */
11 sector_t end; /* highest interval end in subtree */ 11 sector_t end; /* highest interval end in subtree */
12 int waiting:1;
12}; 13};
13 14
14static inline void drbd_clear_interval(struct drbd_interval *i) 15static inline void drbd_clear_interval(struct drbd_interval *i)