summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
authorPhilipp Reisner2011-02-05 17:34:11 +0100
committerPhilipp Reisner2011-09-28 10:26:47 +0200
commite64a32945902a178c9de9b38e0ea3290981605bc (patch)
tree3f7f18114122a7dbd55ab0b39ecf9e8203d8e5ea /drivers/block/drbd/drbd_int.h
parentdrbd: Moved code (diff)
downloadkernel-qcow2-linux-e64a32945902a178c9de9b38e0ea3290981605bc.tar.gz
kernel-qcow2-linux-e64a32945902a178c9de9b38e0ea3290981605bc.tar.xz
kernel-qcow2-linux-e64a32945902a178c9de9b38e0ea3290981605bc.zip
drbd: Do no sleep long in drbd_start_resync
Work items that sleep too long can cause requests to take as long as the longest sleeping work item. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 9a351a2cab7c..eec36af56744 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -787,6 +787,7 @@ enum {
NEW_CUR_UUID, /* Create new current UUID when thawing IO */
AL_SUSPENDED, /* Activity logging is currently suspended. */
AHEAD_TO_SYNC_SOURCE, /* Ahead -> SyncSource queued */
+ B_RS_H_DONE, /* Before resync handler done (already executed) */
};
struct drbd_bitmap; /* opaque for drbd_conf */