drbd: factor out drbd_rs_number_requests
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 5 Nov 2010 09:04:07 +0000 (10:04 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:19:01 +0000 (11:19 +0100)
commite65f440d474d7d6a6fd8a2c844e851d8c96ed9c5
tree92fb1b9fea75ac13154dbc844a4153ea6d07ab30
parent9bd28d3c90c80c7ec46085de281b38f67331da41
drbd: factor out drbd_rs_number_requests

Preparation patch to be able to use the auto-throttling resync controller
for online-verify requests as well.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_worker.c