drbd: register peer requests on read_ee early
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 8 May 2014 08:08:05 +0000 (10:08 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Jul 2014 16:35:14 +0000 (18:35 +0200)
commitc5a2c1509ea55d074bf0cd8ff0679b247f70cbe3
tree66f97073f1dc8a6d72ffea067911e9f1f6e6740e
parent21ae5d7f95aa1a64f35b03c91f8714ced3ab61a9
drbd: register peer requests on read_ee early

Initialize peer_request with timestamp and proper empty list head.
Add peer_request to list early, so debugfs can find this request and
report it as "preparing", even if we sleep before we actually submit it.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_receiver.c
This page took 0.024539 seconds and 5 git commands to generate.