diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-01-28 10:31:04 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-09-28 10:26:31 +0200 |
commit | 53840641bb1feff8c08acdba9de4c0f8b8674df5 (patch) | |
tree | 4a0eb7966272182b417a9a94f1c5423bcb1fd663 /drivers/block/drbd/drbd_interval.h | |
parent | 3e05146f0a9f28ef5959403eabf3239869476315 (diff) | |
download | linux-stable-53840641bb1feff8c08acdba9de4c0f8b8674df5.tar.gz linux-stable-53840641bb1feff8c08acdba9de4c0f8b8674df5.tar.bz2 linux-stable-53840641bb1feff8c08acdba9de4c0f8b8674df5.zip |
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.h | 1 |
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 { sector_t sector; /* start sector of the interval */ unsigned int size; /* size in bytes */ sector_t end; /* highest interval end in subtree */ + int waiting:1; }; static inline void drbd_clear_interval(struct drbd_interval *i) |