summaryrefslogtreecommitdiffstats
path: root/drivers/block/skd_s1120.h
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2014-04-22 16:37:16 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-07-10 18:35:06 +0200
commit7f34f61490ee87a470cf229069d59b0987f42a59 (patch)
treee76e93c15ce7283d656f508b5c1c88189bd8be66 /drivers/block/skd_s1120.h
parentf88c5d90ccca70841af88ba9456ba4aac6d10da8 (diff)
downloadblackbird-op-linux-7f34f61490ee87a470cf229069d59b0987f42a59.tar.gz
blackbird-op-linux-7f34f61490ee87a470cf229069d59b0987f42a59.zip
drbd: drbd_rs_number_requests: fix unit mismatch in comparison
We try to limit the number of "in-flight" resync requests. One condition for that is the amount of requested data should not exceed half of what can be covered by our "max-buffers" setting. However we compared number of 4k pages with number of in-flight 512 Byte sectors, and this extra throttle triggered much earlier than intended. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/skd_s1120.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud